speedyseq icon indicating copy to clipboard operation
speedyseq copied to clipboard

Improve error messages when an operation results in 0 samples or taxa

Open mikemc opened this issue 4 years ago • 0 comments

Currently if one performs a subset_samples operation that removes all samples, they get an error message

Error in validObject(.Object) :
  invalid class “sample_data” object: Sample Data must have non-zero dimensions. 

Instead, we should detect that 0 samples pass the subsetting operation and inform the user in an error message, to help spot the problem. Similarly for subsetting taxa with subset_taxa.

mikemc avatar Jul 06 '20 11:07 mikemc