class_docstr: Base nipype config class
class_docstr_tok: ["Base","nipype","config","class"]
docstr: Read options file
docstr_tok: ["Read","options","file"]
code: def get_data(self, key):
      """Read options file"""
      if not os.path.exists(self.data_file):
          return None
      with SoftFileLock("%s.lock" % self.data_file):
          with open(self.data_file) as file:
              datadict = load(file)
      if key in datadict:
          return datadict[key]
      return None
  
imports: import os
  import sys
  import errno
  import atexit
  from warnings import warn
  from looseversion import LooseVersion
  import configparser
  import numpy
  from simplejson import load, dump
  from .misc import str2bool
  from filelock import SoftFileLock
label_desc: Use image node_id 11 for calling the NipypeConfig obj's underlying member method code with example usage: obj.get_data(key) and returns: None, None, datadict