pyiron_base.jobs.job.runfunction.write_input_files_from_input_dict

pyiron_base.jobs.job.runfunction.write_input_files_from_input_dict#

pyiron_base.jobs.job.runfunction.write_input_files_from_input_dict(input_dict: dict, working_directory: str) None[source]#

Write input files based on hierarchical input dictionary. On the first level the input dictionary is divided in file_to_create and files_to_copy. Both are dictionaries use the file names as keys. In file_to_create the values are strings which represent the content which is going to be written to the corresponding file. In files_to_copy the values are the paths to the source files to be copied.

Parameters:
  • input_dict (dict) – hierarchical input dictionary with files_to_create and files_to_copy.

  • working_directory (str) – path to the working directory