DendroPy
DendroPy copied to clipboard
Create smoke tests
- [ ] BUG:
dendropy.simulate.popgenism.FragmentedPopulations.generate_sequences(revisit) - fails on https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/datamodel/charmatrixmodel.py#L998
- works on https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/model/coalescent.py#L761
- [x]
dendropy.model.coalescent.discrete_time_to_coalescence - fails with https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/model/coalescent.py#L74
- when
pop_size = None(default), ifn_genes <= 1(integer), orpop_size < 1(integer) - [x]
dendropy.model.coalescent.log_probability_of_coalescent_frames - LaTeX doesn't render in documentation
- [x] citep
- [x] Mark
gcd()as deprecated and remove internal use (calculate.mathfn) - also
factorial()incalculate.combinatorics - [x]
dendropy.calculate.treesum.summarize_node_ages_on_tree - fails with https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/calculate/treesum.py#L264
- when checking seed_node
- [x] deprecate
allow_negative_edges - [x] BUG:
dendropy.calculate.treesum.count_splits_on_trees(revisit) - fails with https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/calculate/treesum.py#L317
- when both taxon_namespaces are empty (not equals None)
- so does
dendropy.calculate.treesum.consensus_tree(callscount_splits_on_trees) - [x] add
is_mutableto docstring for Bipartition__init__ - [x]
dendropy.interop.eteanddendropy.interop.biopythonhave required imports to test, worth adding to CI? - [x]
dendropy.model.discrete.simulate_discrete_charsanddendropy.model.discrete.simulate_discrete_char_datasetdon't seem to work with aDiscreteCharacterEvolutionModeltype argument as specified, because nostationary_sampleattribute (works withNucleotideCharacterEvolutionModel) - [x]
dendropy.model.parismony.fitch_up_passrequires an argumentpreorder_node_listbut calls itpostorder_nodesin docstring https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/model/parsimony.py#L226 - [x] change
preorder_nodestopreorder_node_iterand deprecate old kwarg - [x]
dendropy.model.reconcile.ContainingTree.clearhttps://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/model/reconcile.py#L180 domain_taxadoesn't seem to exist anywhere else in the code- [x]
dendropy.utility.bibtex.BibTexEntryinitialization breaks on https://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/utility/bibtex.py#L115 - bug:
__getattr__too fancy - plan to delete
BibTexEntryand updatebasemodel.add_bibtex - [x]
dendropy.utility.container.NormalizedBitmaskDicthttps://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/utility/container.py#L266 - fails with default value
fill_bitmask=None - [x] add deprecation warning if neither arguments are provided
- [x]
dendropy.utility.messaging.log_lineshttps://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/utility/messaging.py#L155 - fails with default value
level=None - [x]
dendropy.utility.processing.enqueue_streamhttps://github.com/jeetsukumaran/DendroPy/blob/cc82ab774ed83831b5c5125278d88c3c614c2d8a/src/dendropy/utility/processio.py#L77 - should this be readline()?
- [x]
dendropy.calculate.treesum.TopologyCounter.hash_topology - AssertionError: Bipartition is mutable: hash is unstable (revisit) https://gist.github.com/Nephrain/e809f613c511afdc3bf063e460ef77d3