Fix: broken args when comitting exps to slurm

This commit is contained in:
Dominik Moritz Roth 2024-08-22 17:43:21 +02:00
parent 24b232138f
commit 85984f56fa

View File

@ -55,7 +55,7 @@ class Slate():
self.consume(config, 'vars', {})
return config
def _load_config(self, filename, name, stack=[]):
def _load_config(self, filename, name, stack):
stack.append(f'{filename}:{name}')
with open(filename, 'r') as f:
docs = yaml.safe_load_all(f)
@ -421,7 +421,7 @@ class Slate():
if args.slurm:
if args.ask_verify:
self.verify = True
self.run_slurm(args.config_experiments, config_exp_pairs)
self.run_slurm(args.config_experiments.join(' '), config_exp_pairs)
else:
self.run_local(config_exp_pairs, args.task_id)