code: def __orig_write_support_file(mon, log_file="paramlog.py"):
      if isNull(mon):
          return  # XXX: throw error? warning? ???
      steps, energy = read_monitor(mon)
      log = []
      if len(steps) > 0:
          for p in range(len(steps[0])):
              q = []
              for s in range(len(steps)):
                  q.append(steps[s][p])
              log.append(q)
      monitor = write_monitor(log, energy)
      write_raw_file(monitor, log_file)
      return
  
imports: from mystic.tools import list_or_tuple_or_ndarray
  from mystic.tools import isNull
  import sys
label_desc: Use image node_id 23 for calling a global function with example usage: __orig_write_support_file(mon, log_file) without return types