code: def _get_output_nodes(self, output_path, error_path):
          
          status = cod_deposition_states.UNKNOWN
          messages = []
  
          if output_path is not None:
              content = None
              with open(output_path) as f:
                  content = f.read()
              status, message = CifCodDepositParser._deposit_result(content)
              messages.extend(message.split('\n'))
  
          if error_path is not None:
              with open(error_path) as f:
                  content = f.readlines()
              lines = [x.strip('\n') for x in content]
              messages.extend(lines)
  
          parameters = {'output_messages': messages, 'status': status}
  
          output_nodes = []
          output_nodes.append(('messages', Dict(dict=parameters)))
  
          if status == cod_deposition_states.SUCCESS:
              return True, output_nodes
  
          return False, output_nodes
docs: Extracts output nodes from the standard output and standard error files