class_docstr: Execute using Condor
  
  This plugin doesn't work with a plain stock-Condor installation, but
  requires a 'qsub' emulation script for Condor, called 'condor_qsub'.
  This script is shipped with the Condor package from NeuroDebian, or can be
  downloaded from its Git repository at
  
  http://anonscm.debian.org/gitweb/?p=pkg-exppsy/condor.git;a=blob_plain;f=debian/condor_qsub;hb=HEAD
  
  The plugin_args input to run can be used to control the Condor execution.
  Currently supported options are:
  
  - template : template to use for batch job submission. This can be an
               SGE-style script with the (limited) set of options supported
               by condor_qsub
  - qsub_args : arguments to be prepended to the job execution script in the
                qsub call
code: def __init__(self, **kwargs):
      template = """
  #$ -V
  #$ -S /bin/sh
          """
      self._retry_timeout = 2
      self._max_tries = 2
      if "plugin_args" in kwargs and kwargs["plugin_args"]:
          if "retry_timeout" in kwargs["plugin_args"]:
              self._retry_timeout = kwargs["plugin_args"][
                  "retry_timeout"
              ]
          if "max_tries" in kwargs["plugin_args"]:
              self._max_tries = kwargs["plugin_args"]["max_tries"]
      super().__init__(template, **kwargs)
  
file_path: nipype/nipype/pipeline/plugins/condor.py
imports: import os
  from time import sleep
  from ...interfaces.base import CommandLine
  from ...None import logging
  from .base import SGELikeBatchManagerBase, logger
label_desc: Use image node_id 1 to create a new CondorPlugin object from inherited base classes: SGELikeBatchManagerBase with example: obj = CondorPlugin()