class_docstr: Execute using Condor DAGMan
  
  The plugin_args input to run can be used to control the DAGMan execution.
  The value of most arguments can be a literal string or a filename, where in
  the latter case the content of the file will be used as the argument value.
  
  Currently supported options are:
  
  - submit_template : submit spec template for individual jobs in a DAG (see
               CondorDAGManPlugin.default_submit_template for the default.
  - initial_specs : additional submit specs that are prepended to any job's
               submit file
  - override_specs : additional submit specs that are appended to any job's
               submit file
  - wrapper_cmd : path to an executable that will be started instead of a node
               script. This is useful for wrapper script that execute certain
               functionality prior or after a node runs. If this option is
               given the wrapper command is called with the respective Python
               executable 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 arguments of the
                  condor_submit_dag call
  - block : if True the plugin call will block until Condor has finished
               processing the entire workflow (default: False)
code: def __init__(self, **kwargs):
      for var, id_, val in (
          (
              "_template",
              "submit_template",
              self.default_submit_template,
          ),
          ("_initial_specs", "template", ""),
          ("_initial_specs", "initial_specs", ""),
          ("_override_specs", "submit_specs", ""),
          ("_override_specs", "override_specs", ""),
          ("_wrapper_cmd", "wrapper_cmd", None),
          ("_wrapper_args", "wrapper_args", ""),
          ("_block", "block", False),
          ("_dagman_args", "dagman_args", ""),
      ):
          if (
              "plugin_args" in kwargs
              and not kwargs["plugin_args"] is None
              and id_ in kwargs["plugin_args"]
          ):
              if id_ == "wrapper_cmd":
                  val = os.path.abspath(kwargs["plugin_args"][id_])
              elif id_ == "block":
                  val = kwargs["plugin_args"][id_]
              else:
                  val = self._get_str_or_file(
                      kwargs["plugin_args"][id_]
                  )
          setattr(self, var, val)
      # TODO remove after some time
      if "plugin_args" in kwargs and not kwargs["plugin_args"] is None:
          plugin_args = kwargs["plugin_args"]
          if "template" in plugin_args:
              warn(
                  "the 'template' argument is deprecated, use 'initial_specs' instead"
              )
          if "submit_specs" in plugin_args:
              warn(
                  "the 'submit_specs' argument is deprecated, use 'override_specs' instead"
              )
      super().__init__(**kwargs)
  
file_path: nipype/nipype/pipeline/plugins/dagman.py
imports: import os
  import sys
  import uuid
  import time
  from warnings import warn
  from .base import GraphPluginBase, logger
  from ...interfaces.base import CommandLine
label_desc: Use image node_id 2 to create a new CondorDAGManPlugin object from inherited base classes: GraphPluginBase with example: obj = CondorDAGManPlugin()