def _add_to_obj(self, rec_curr, typedef_curr, line): """Add information on line to GOTerm or Typedef.""" if rec_curr is not None: self._add_to_ref(rec_curr, line) else: add_to_typedef(typedef_curr, line)
def _add_to_obj(self, rec_curr, typedef_curr, line): """Add information on line to GOTerm or Typedef.""" if rec_curr is not None: self._add_to_ref(rec_curr, line) else: add_to_typedef(typedef_curr, line)