-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved error reporting and tests for prune_paths() methods (#212)
Closes #206 The error arises during usage of `csr.Skeleton.prune_paths()` which takes a list of indices, typical from `csr.summarize()`, which are to be pruned. If the index is outside of the range of rows in the data frame a `ValueError` is thrown. It was first highlighted during early development of pruning iteratively but can arise any time in inappropriate value that is greater than the number of paths in a skeleton is passed to `prune_path()` method. --------- Co-authored-by: slackline <[email protected]> Co-authored-by: Juan Nunez-Iglesias <[email protected]>
- Loading branch information
1 parent
b61b24a
commit 91d4e7c
Showing
2 changed files
with
92 additions
and
11 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