class_docstr: Class to run set of checks
docstr: Initialize instance from sequence of `checks`
  
  Parameters
  ----------
  checks : sequence
     sequence of checks, where checks are callables matching
     signature ``obj, rep = chk(obj, fix=False)``.  Checks are run
     in the order they are passed.
  
  Examples
  --------
  >>> def chk(obj, fix=False): # minimal check
  ...     return obj, Report()
  >>> btrun = BatteryRunner((chk,))
docstr_tok: ["Initialize","instance","from","sequence","of","`","checks","`","Parameters","--","--","--","--","--","checks",":","sequence","sequence","of","checks",",","where","checks","are","callables","matching","signature","``","obj",",","rep","=","chk","(","obj",",","fix=False",")","``",".","Checks","are","run","in","the","order","they","are","passed",".","Examples","--","--","--","--",">",">",">","def","chk","(","obj",",","fix=False",")",":","#","minimal","check","...","return","obj",",","Report","(",")",">",">",">","btrun","=","BatteryRunner","(","(","chk",",",")",")"]
code: def __init__(self, checks):
      """Initialize instance from sequence of `checks`
  
      Parameters
      ----------
      checks : sequence
         sequence of checks, where checks are callables matching
         signature ``obj, rep = chk(obj, fix=False)``.  Checks are run
         in the order they are passed.
  
      Examples
      --------
      >>> def chk(obj, fix=False): # minimal check
      ...     return obj, Report()
      >>> btrun = BatteryRunner((chk,))
      """
      self._checks = checks
  
file_path: nibabel/nibabel/batteryrunners.py
label_desc: Use image node_id 1 to create a new BatteryRunner object  with example: obj = BatteryRunner(checks)