biotaphy.data_wrangling.species_list.accepted_name_data_wrangler
Accepted name wrangler for species list using OTOL names.
Module Contents
Classes
Constructor for BiotaphyAcceptedNameSpeciesListModifier class. |
- class biotaphy.data_wrangling.species_list.accepted_name_data_wrangler.BiotaphyAcceptedNameSpeciesListWrangler(name_map=None, name_resolver=None, purge_failures=True, out_map_filename=None, map_write_interval=100, out_map_format='json', **params)[source]
Bases:
lmpy.data_wrangling.species_list.accepted_name_wrangler.AcceptedNameSpeciesListWrangler
Constructor for BiotaphyAcceptedNameSpeciesListModifier class.
- Parameters
name_map (dict) – A map of original name to accepted name.
name_resolver (str or Method) – If provided, use this method for getting new accepted names. If set to ‘gbif’, use GBIF name resolution.
purge_failures (bool) – Should failures be purged from the tree.
out_map_filename (str) – A file location to write the updated name map.
map_write_interval (int) – Update the name map output file after each set of this many iterations.
out_map_format (str) – The format to write the names map (csv or json).
**params (dict) – Keyword parameters to pass to _TreeDataWrangler.