code: def logging_finish(self):
      from .results import result_todf
  
      # save the results
      self = result_todf(self)
  
      return self
  
label_desc: Use image node_id 1 for calling a global function with example usage: logging_finish() and returns: self