AttributeError: 'TaxonNamespace' object has no attribute 'partition'
I have printed the attributes of the variable taxon_namespace. And it follows:
['__class__', '__contains__', '__copy__', '__deepcopy__', '__delattr__', '__delitem__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__iter__', '__len__', '__lt__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__reversed__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_accession_index_taxon_map', '_current_accession_count', '_format_and_write_to_stream', '_get_annotations', '_get_from', '_get_label', '_has_annotations', '_label', '_lookup_label', '_parse_and_add_from_stream', '_parse_and_create_from_stream', '_read_from', '_set_annotations', '_set_label', '_taxa', '_taxon_accession_index_map', '_taxon_bitmask_map', '_write_to', 'accession_index', 'add_taxa', 'add_taxon', 'all_taxa_bitmask', 'annotations', 'append', 'as_string', 'bitmask_as_bitstring', 'bitmask_as_newick_string', 'bitmask_taxa_list', 'clear', 'clone', 'comments', 'copy_annotations_from', 'deep_copy_annotations_from', 'description', 'discard_taxon_label', 'findall', 'get_from_path', 'get_from_stream', 'get_from_string', 'get_from_url', 'get_taxa', 'get_taxa_bitmask', 'get_taxon', 'has_annotations', 'has_taxa_labels', 'has_taxon_label', 'is_case_sensitive', 'is_mutable', 'label', 'label_taxon_map', 'labels', 'new_taxa', 'new_taxon', 'populate_memo_for_taxon_namespace_scoped_copy', 'read_from_path', 'read_from_stream', 'read_from_string', 'read_from_url', 'remove', 'remove_taxon', 'remove_taxon_label', 'require_taxon', 'reverse', 'sort', 'split_as_newick_string', 'split_as_string', 'taxa_bipartition', 'taxa_bitmask', 'taxon_bitmask', 'taxon_namespace_scoped_copy', 'write', 'write_to_path', 'write_to_stream']
There is no 'partition' attribute there truly. I was wondering if I have been doing something wrong or if the names have changed.
Cheers.
--
You received this message because you are subscribed to the Google Groups "DendroPy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dendropy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.