diff --git a/slate/slate.py b/slate/slate.py index 294faf7..b7cd8e9 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -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.join(' ')), config_exp_pairs) else: self.run_local(config_exp_pairs, args.task_id)