def _prt_read_msg(self, prt, fin_txt, exclude_ungrouped):
        """Print which file was read and the number of GO IDs found."""
        if self.sections_seen or exclude_ungrouped:
            # dat = Grouper.get_summary_data(self.section2goids.items(), HdrgosSections.secdflt)
            dat = SummarySec2dHdrGos().summarize_sec2hdrgos(self.section2goids.items())
            sys.stdout.write(Grouper.fmtsum.format(
                GO_DESC='hdr', SECs=len(dat['S']), GOs=len(dat['G']),
                UNGRP="N/A", undesc="unused", ACTION="READ: ", FILE=fin_txt))
        elif self.goids_fin:
            prt.write("  {G} GO IDs READ: {FIN}\n".format(G=len(self.goids_fin), FIN=fin_txt))
def _prt_read_msg ( self , prt , fin_txt , exclude_ungrouped ) : if self . sections_seen or exclude_ungrouped : dat = SummarySec2dHdrGos ( ) . summarize_sec2hdrgos ( self . section2goids . items ( ) ) sys . stdout . write ( Grouper . fmtsum . format ( GO_DESC = 'hdr' , SECs = len ( dat [ 'S' ] ) , GOs = len ( dat [ 'G' ] ) , UNGRP = "N/A" , undesc = "unused" , ACTION = "READ: " , FILE = fin_txt ) ) elif self . goids_fin : prt . write ( "  {G} GO IDs READ: {FIN}\n" . format ( G = len ( self . goids_fin ) , FIN = fin_txt ) )
Print which file was read and the number of GO IDs found.