docstr: Initialize report with values
  
  Parameters
  ----------
  error : None or Exception
     Error to raise if raising error for this check.  If None,
     no error can be raised for this check (it was probably
     normal).
  problem_level : int
     level of problem.  From 0 (no problem) to 50 (severe
     problem).  If the report originates from a fix, then this
     is the level of the problem remaining after the fix.
     Default is 0
  problem_msg : string
     String describing problem detected. Default is ''
  fix_msg : string
     String describing any fix applied.  Default is ''.
  
  Examples
  --------
  >>> rep = Report()
  >>> rep.problem_level
  0
  >>> rep = Report(TypeError, 10)
  >>> rep.problem_level
  10
docstr_tok: ["Initialize","report","with","values","Parameters","--","--","--","--","--","error",":","None","or","Exception","Error","to","raise","if","raising","error","for","this","check",".","If","None",",","no","error","can","be","raised","for","this","check","(","it","was","probably","normal",")",".","problem_level",":","int","level","of","problem",".","From","0","(","no","problem",")","to","50","(","severe","problem",")",".","If","the","report","originates","from","a","fix",",","then","this","is","the","level","of","the","problem","remaining","after","the","fix",".","Default","is","0","problem_msg",":","string","String","describing","problem","detected",".","Default","is","``","fix_msg",":","string","String","describing","any","fix","applied",".","Default","is","``",".","Examples","--","--","--","--",">",">",">","rep","=","Report","(",")",">",">",">","rep.problem_level","0",">",">",">","rep","=","Report","(","TypeError",",","10",")",">",">",">","rep.problem_level","10"]
code: def __init__(
      self, error=Exception, problem_level=0, problem_msg="", fix_msg=""
  ):
      """Initialize report with values
  
      Parameters
      ----------
      error : None or Exception
         Error to raise if raising error for this check.  If None,
         no error can be raised for this check (it was probably
         normal).
      problem_level : int
         level of problem.  From 0 (no problem) to 50 (severe
         problem).  If the report originates from a fix, then this
         is the level of the problem remaining after the fix.
         Default is 0
      problem_msg : string
         String describing problem detected. Default is ''
      fix_msg : string
         String describing any fix applied.  Default is ''.
  
      Examples
      --------
      >>> rep = Report()
      >>> rep.problem_level
      0
      >>> rep = Report(TypeError, 10)
      >>> rep.problem_level
      10
      """
      self.error = error
      self.problem_level = problem_level
      self.problem_msg = problem_msg
      self.fix_msg = fix_msg
  
file_path: nibabel/nibabel/batteryrunners.py
label_desc: Use image node_id 1 to create a new Report object  with example: obj = Report(error, problem_level, problem_msg, fix_msg)