This commit is contained in:
Dominik Moritz Roth 2023-07-09 17:15:39 +02:00
parent f2953cd80a
commit 4a04480105

View File

@ -157,7 +157,7 @@ class Slate():
def run_slurm(self, filename, name):
assert slurm_avaible, 'pyslurm does not seem to be installed on this system.'
config = self.load_config(filename, name)
slurmC = self.consume(config, 'slurm', True)
slurmC = self.consume(config, 'slurm', expand=True)
schedC = self.consume(config, 'scheduler')
s_name = self.consume(slurmC, 'name')
@ -278,6 +278,8 @@ class Slate():
parser.add_argument("-w", "--worker", action="store_true")
parser.add_argument("-j", "--job_id", default=None, type=int)
print('I have job_id ', args.job_id)
args = parser.parse_args()
if args.worker: