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

Validating the number of samples #241

Open
wasade opened this issue Feb 26, 2019 · 0 comments
Open

Validating the number of samples #241

wasade opened this issue Feb 26, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@wasade
Copy link
Member

wasade commented Feb 26, 2019

Improvement Description
A user on the QIIME 2 forum encountered a memory error when running a FeatureTable containing a single sample through core-metrics-phylogenetic. The error stemmed from Striped UniFrac not appropriately checking for a single sample (noted in biocore/unifrac#34). While the actual error stemmed from underlying code, we may want to consider adding in a helpful message to the user that this action is not relevant for a single sample.

Current Behavior
When a FeatureTable with a single sample is provided, and error is produced.

Proposed Behavior
Error, and provide a polite message to the user indicating that beta metrics are only applicable to tables with 2 or more samples.

@gregcaporaso gregcaporaso added the good first issue Good for newcomers label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants