예제 #1
0
 def __init__(self, row, column, taxon_set, max_taxa, label):
     self.taxon_set = taxon_set
     self.label = label
     message = "Cannot add '%s': Declared number of taxa (%d) already defined: %s" % \
                     (label,
                     max_taxa,
                     str([("%s" % t.label) for t in taxon_set]))
     DataParseError.__init__(self, message=message, row=row, column=column)
 def __init__(self, row, column, taxon_set, max_taxa, label):
     self.taxon_set = taxon_set
     self.label = label
     message = "Cannot add '%s': Declared number of taxa (%d) already defined: %s" % (
         label,
         max_taxa,
         str([("%s" % t.label) for t in taxon_set]),
     )
     DataParseError.__init__(self, message=message, row=row, column=column)
 def __init__(self, *args, **kwargs):
     DataParseError.__init__(self, *args, **kwargs)
예제 #4
0
 def __init__(self, *args, **kwargs):
     DataParseError.__init__(self, *args, **kwargs)