File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class SLURMGraphPlugin(GraphPluginBase):
44
44
_template = "#!/bin/bash"
45
45
46
46
def __init__ (self , ** kwargs ):
47
+ self ._sbatch_args = ''
47
48
if 'plugin_args' in kwargs and kwargs ['plugin_args' ]:
48
49
if 'retry_timeout' in kwargs ['plugin_args' ]:
49
50
self ._retry_timeout = kwargs ['plugin_args' ]['retry_timeout' ]
@@ -55,8 +56,6 @@ def __init__(self, **kwargs):
55
56
self ._template = open (self ._template ).read ()
56
57
if 'sbatch_args' in kwargs ['plugin_args' ]:
57
58
self ._sbatch_args = kwargs ['plugin_args' ]['sbatch_args' ]
58
- else : # default argument for _sbatch_args
59
- self ._sbatch_args = ''
60
59
if 'dont_resubmit_completed_jobs' in kwargs ['plugin_args' ]:
61
60
self ._dont_resubmit_completed_jobs = kwargs ['plugin_args' ][
62
61
'dont_resubmit_completed_jobs' ]
You can’t perform that action at this time.
0 commit comments