slurm_options_here
- PlasmaCalcs.tools.supercomputer.slurm_options_here(dir='.', *, conflicts='crash', only=None, eval=True)
returns SlurmOptionsDict of all slurm-related options in files within this directory.
searches all slurmfiles within this directory.conflicts: ‘crash’, ‘drop’tells how to handle conflicts (key with different value or missing in different files).‘crash’ –> raise FileContentsConflictError if any conflicts.‘drop’ –> drop all keys with any sort of conflict.only: None, str, or list of strif provided, only include these keys in the result(and, only check these keys for conflicts!).eval: boolwhether to attempt ast.literal_eval(value) for each value. (False –> keep all as str.)