pyiron / FAQs

General question board for pyiron users
3 stars 0 forks source link

How to create and save an input file from pyiron without creating a pyiron database entry? #30

Open skatnagallu opened 6 months ago

skatnagallu commented 6 months ago

Create a job you want in pyiron

job = pr.create.job.Sphinx(job_name='test',delete_existing_job=True)
job.structure = structure
job.calc_static()

Now to save the input or create a working directory for your further needs, without creating a database entry, as calling job.save() creates a database entry. Instead follow this:

job.project_hdf5.create_working_directory()
job.write_input()