Skip to content

Commit

Permalink
Update Taxonomy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gregdenay committed Jun 19, 2024
1 parent a38fb77 commit 1f2eb91
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions taxidTools/Taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,13 @@ def consensus(self, taxid_list: list[Union[str, int]],
-------
taxidTools._BaseNode
Raises
------
ValueError
If `taxid_list` contains no valid taxid and `ignore_missing` is `True`
taxidTools.InvalidNodeError
If `taxid_list` contains invalid taxids and `ignore_missing` is `False`
Notes
-----
If no consensus can be found (for example because
Expand Down Expand Up @@ -516,6 +523,13 @@ def lca(self, taxid_list: list[Union[str, int]], ignore_missing: bool = False) -
-------
taxidTools._BasNode
Raises
------
ValueError
If `taxid_list` contains no valid taxid and `ignore_missing` is `True`
taxidTools.InvalidNodeError
If `taxid_list` contains invalid taxids and `ignore_missing` is `False`
See Also
--------
Taxonomy.consensus
Expand Down

0 comments on commit 1f2eb91

Please sign in to comment.