Fix: broken args when comitting exps to slurm
This commit is contained in:
parent
24b232138f
commit
f14e877fbd
@ -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(' '.join(args.config_experiments), config_exp_pairs)
|
||||
else:
|
||||
self.run_local(config_exp_pairs, args.task_id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user