-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MAINT/TST: code cleanup, refactoring, a few bug fixes, unit test …
…additions Took a pass through the code and unit tests, cleaning up the implementation a bit and improving error messages. Also refactored some of the code for easier testing of individual pieces, which uncovered a few bugs: - every value in `value_map` was being used to compute min/median/max for the legend, and default values (if `value_map` was a defaultdict) were ignored - plotting an empty alignment resulted in a cryptic error - plotting an alignment with a single sequence produced the wrong y-axis labels Fixes #765.
- Loading branch information
1 parent
0e2aabd
commit 89f45fc
Showing
2 changed files
with
210 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters