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):
4444 _template = "#!/bin/bash"
4545
4646 def __init__ (self , ** kwargs ):
47+ self ._sbatch_args = ''
4748 if 'plugin_args' in kwargs and kwargs ['plugin_args' ]:
4849 if 'retry_timeout' in kwargs ['plugin_args' ]:
4950 self ._retry_timeout = kwargs ['plugin_args' ]['retry_timeout' ]
@@ -55,8 +56,6 @@ def __init__(self, **kwargs):
5556 self ._template = open (self ._template ).read ()
5657 if 'sbatch_args' in kwargs ['plugin_args' ]:
5758 self ._sbatch_args = kwargs ['plugin_args' ]['sbatch_args' ]
58- else : # default argument for _sbatch_args
59- self ._sbatch_args = ''
6059 if 'dont_resubmit_completed_jobs' in kwargs ['plugin_args' ]:
6160 self ._dont_resubmit_completed_jobs = kwargs ['plugin_args' ][
6261 'dont_resubmit_completed_jobs' ]
You can’t perform that action at this time.
0 commit comments