-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a RuntimeError when using the --subset option with a CSV that has too few species. This error only occurred when k > species. This change will return less than k entries when there are too few species. This matches the behavior of heapq.nlargest() used for non species grouping. Fixes #87
- Loading branch information
1 parent
306a0be
commit 58faf9c
Showing
2 changed files
with
15 additions
and
0 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