pyiron_atomistics icon indicating copy to clipboard operation
pyiron_atomistics copied to clipboard

`non_modal` changes the logging level

Open samwaseda opened this issue 2 years ago • 2 comments

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.

samwaseda avatar Nov 14 '22 19:11 samwaseda

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

pmrv avatar Nov 15 '22 09:11 pmrv

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):

  • static (modal)
  • static_background (non_modal)
  • interactive (interactive)
  • interactive_background (interactive_non_modal)

samwaseda avatar Nov 16 '22 14:11 samwaseda