class_docstr: Base class for plugins.
class_docstr_tok: ["Base","class","for","plugins","."]
docstr: Instruct the plugin to execute the workflow graph.
  
  The core plugin member that should be implemented by
  all plugins.
  
  Parameters
  ----------
  graph :
      a networkx, flattened :abbr:`DAG (Directed Acyclic Graph)`
      to be executed
  config : :obj:`~nipype.config`
      a nipype.config object
  updatehash : :obj:`bool`
      whether cached nodes with stale hash should be just updated.
docstr_tok: ["Instruct","the","plugin","to","execute","the","workflow","graph",".","The","core","plugin","member","that","should","be","implemented","by","all","plugins",".","Parameters","--","--","--","--","--","graph",":","a","networkx",",","flattened",":","abbr",":","`","DAG","(","Directed","Acyclic","Graph",")","`","to","be","executed","config",":",":","obj",":","`","~nipype.config","`","a","nipype.config","object","updatehash",":",":","obj",":","`","bool","`","whether","cached","nodes","with","stale","hash","should","be","just","updated","."]
code: def run(self, graph, config, updatehash=False):
      """
      Instruct the plugin to execute the workflow graph.
  
      The core plugin member that should be implemented by
      all plugins.
  
      Parameters
      ----------
      graph :
          a networkx, flattened :abbr:`DAG (Directed Acyclic Graph)`
          to be executed
      config : :obj:`~nipype.config`
          a nipype.config object
      updatehash : :obj:`bool`
          whether cached nodes with stale hash should be just updated.
  
      """
      raise NotImplementedError
  
imports: import sys
  from copy import deepcopy
  from glob import glob
  import os
  import shutil
  from time import sleep, time
  from traceback import format_exception
  import numpy
  from ...None import logging
  from ...utils.misc import str2bool
  from ..engine.utils import topological_sort, load_resultfile
  from ..engine import MapNode
  from .tools import report_crash, report_nodes_not_run, create_pyscript
label_desc: Use image node_id 2 for calling the PluginBase obj's underlying member method code with example usage: obj.run(graph, config, updatehash) without return types