예제 #1
0
 def print_as(self, fh=None, source=None, format=None):
     if format == 'text':
         _print_thing(self, fh=fh)
     elif format == 'gff3':
         # mode could be passed here to print both GFF3-supported representations (already implemented)
         biocodegff.print_biomatch( match=self, fh=fh, source=source )
     else:
         raise Exception("ERROR: You attempted to print a Match with unrecognized format:{0}".format(format))
예제 #2
0
 def print_as(self, fh=None, source=None, format=None):
     if format == 'text':
         _print_thing(self, fh=fh)
     elif format == 'gff3':
         # mode could be passed here to print both GFF3-supported representations (already implemented)
         biocodegff.print_biomatch( match=self, fh=fh, source=source )
     else:
         raise Exception("ERROR: You attempted to print a Match with unrecognized format:{0}".format(format))