alifestd_warn_topological_sensitivity
- alifestd_warn_topological_sensitivity(phylogeny_df: DataFrame, caller: str, *, insert: bool, delete: bool, update: bool) None
Emit a warning if phylogeny_df contains columns that may be invalidated by topological operations.
Parameters
- phylogeny_dfpandas.DataFrame
The phylogeny as a dataframe in alife standard format.
- callerstr
Name of the calling function, included in the warning message.
- insertbool
Whether the operation inserts new nodes.
- deletebool
Whether the operation deletes nodes.
- updatebool
Whether the operation updates ancestor relationships.
Input dataframe is not mutated by this operation.
See Also
- alifestd_warn_topological_sensitivity_polars :
Polars-based implementation.