From 2be4b3a8154c5721bb0ec55b8693cf6ead1d6606 Mon Sep 17 00:00:00 2001 From: roy Date: Tue, 6 Aug 2019 14:53:50 -0700 Subject: [PATCH] slurm: add verbose support --- TopmedPipeline.py | 4 +++- slurm_cfg.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/TopmedPipeline.py b/TopmedPipeline.py index fe1d74df..7c15fca1 100755 --- a/TopmedPipeline.py +++ b/TopmedPipeline.py @@ -817,7 +817,9 @@ def submitJob(self, **kwargs): # -- cost dockerOpts["--machine"] = theMachine dockerOpts["--cost"] = theCost - + # -- verbose + if self.verbose: + dockerOpts["--verbose"] = "True" suboptStr = dictToString(submitOpts) dockeroptStr = dictToString(dockerOpts) diff --git a/slurm_cfg.json b/slurm_cfg.json index f7204c16..176cd719 100644 --- a/slurm_cfg.json +++ b/slurm_cfg.json @@ -83,7 +83,8 @@ "--mem_limit": null, "--working_dir": null, "--machine": null, - "--cost": null + "--cost": null, + "--verbose": null } } }