Skip to content

Commit

Permalink
update idtogos_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Sep 28, 2023
1 parent cfc9bea commit b0df49e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions goatools/anno/idtogos_reader.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
"""Reads a Annotation File in text format with data in id2gos line"""

import sys
from goatools.anno.annoreader_base import AnnoReaderBase
from goatools.anno.init.reader_idtogos import InitAssc

from ..base import logger
from .annoreader_base import AnnoReaderBase
from .init.reader_idtogos import InitAssc

__copyright__ = "Copyright (C) 2016-2019, DV Klopfenstein, H Tang. All rights reserved."
__author__ = "DV Klopfenstein"
Expand Down Expand Up @@ -35,7 +37,7 @@ def wr_id2gos(fout_txt, id2gos):

def prt_summary_anno2ev(self, prt=sys.stdout):
"""Print a summary of all Evidence Codes seen in annotations"""
prt.write(f"**NOTE: No evidence codes in associations: {self.filename}\n")
logger.info("No evidence codes in associations: %s", self.filename)

# pylint: disable=unused-argument
def reduce_annotations(self, associations, options):
Expand Down

0 comments on commit b0df49e

Please sign in to comment.