pyiron_atomistics
pyiron_atomistics copied to clipboard
`non_modal` changes the logging level
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.
On a slightly unrelated note: Can we rename modal
and non_modal
to foreground
and background
? I find the current names very unintuitive.
On a slightly unrelated note: Can we rename
modal
andnon_modal
toforeground
andbackground
? 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):
-
static
(modal
) -
static_background
(non_modal
) -
interactive
(interactive
) -
interactive_background
(interactive_non_modal
)