pyiron / pyiron_atomistics

pyiron_atomistics - an integrated development environment (IDE) for atomistic simulation in computational materials science.
https://pyiron-atomistics.readthedocs.io
BSD 3-Clause "New" or "Revised" License
42 stars 15 forks source link

`non_modal` changes the logging level #873

Open samwaseda opened 1 year ago

samwaseda commented 1 year ago
lmp = pr.create.job.Lammps('lmp')
lmp.structure = pr.create.structure.bulk('Al', cubic=True)
lmp.server.run_mode.non_modal = True
murn = lmp.create_job('Murnaghan', 'murn')
murn.server.run_mode.non_modal = True
murn.run()

For some reason this changes the logging level.

pmrv commented 1 year ago

On a slightly unrelated note: Can we rename modal and non_modal to foreground and background? I find the current names very unintuitive.

samwaseda commented 1 year ago

On a slightly unrelated note: Can we rename modal and non_modal to foreground and background? I find the current names very unintuitive.

Since foreground would be the case for most of the jobs, I'd suggest to create the distinction between static and interactive, where we can append background for the current non-modal jobs, i.e. we would have (current names in parentheses):