Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate branch length methods to new Dataset subclass #55

Closed
willdumm opened this issue Sep 11, 2024 · 1 comment · Fixed by #89
Closed

Consolidate branch length methods to new Dataset subclass #55

willdumm opened this issue Sep 11, 2024 · 1 comment · Fixed by #89
Assignees

Comments

@willdumm
Copy link
Contributor

Many Dataset subclasses have duplicated methods like export_branch_lengths, and the branch lengths setter. These should be moved to something called BranchLengthDataset, which can be subclassed by all the classes that currently independently implement these methods.

Originally posted by @willdumm in #50 (comment)

@willdumm
Copy link
Contributor Author

use 55-consolidate-dataset-methods

willdumm added a commit that referenced this issue Nov 26, 2024
* Addressing #55, I consolidating some branch lengths-related code into a new superclass BranchLengthDataset.
* addressed #22 by moving some methods and functions around. All pre-existing functions and methods should work as they did before. Now, a DXSM crepe can be called on sequences to get selection factors. Previously, this required calling the method `selection_factors_of_aa_str` on a DXSM model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant