Skip to content

BF: Fix argument order for condor_submit_dag call #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions nipype/pipeline/plugins/dagman.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class CondorDAGManPlugin(GraphPluginBase):
given the wrapper command is called with the respective Python
exectuable and the path to the node script as final arguments
- wrapper_args : optional additional arguments to a wrapper command
- dagman_args : arguments to be prepended to the job execution script in the
dagman call
- dagman_args : arguments to be prepended to the arguments of the
condor_submit_dag call
- block : if True the plugin call will block until Condor has finished
prcoessing the entire workflow (default: False)
"""
Expand Down Expand Up @@ -152,8 +152,8 @@ def _submit_graph(self, pyfiles, dependencies, nodes):
cmd = CommandLine('condor_submit_dag', environ=os.environ.data,
terminal_output='allatonce')
# needs -update_submit or re-running a workflow will fail
cmd.inputs.args = '-update_submit %s %s' % (dagfilename,
self._dagman_args)
cmd.inputs.args = '%s -update_submit %s' % (self._dagman_args,
dagfilename)
cmd.run()
logger.info('submitted all jobs to Condor DAGMan')
if self._block:
Expand Down