BugFix: Error when printing unconsumed configs

This commit is contained in:
Dominik Moritz Roth 2024-02-16 13:59:17 +01:00
parent 65350ade74
commit 2d0e552c6c

View File

@ -238,7 +238,8 @@ class Slate():
array = f'0-{last_job_idx}%{num_parallel_jobs}'
job = pyslurm.JobSubmitDescription(name=s_name, script=script, array=array, **slurmC)
if config != {}:
pprint('Unconsumed Config: ', config)
print('[!] Unconsumed Config Parts:')
pprint(config)
if self.verify or config != {}:
input(f'<Press enter to submit {num_jobs} job(s) to slurm>')
job_id = job.submit()