-
Notifications
You must be signed in to change notification settings - Fork 37
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
ENH: Adds seed parameter to rarefy
#321
Conversation
@VinzentRisch, I completely understand the motivation for this, but I don't think this solution will work out as-is. The vast majority of users wouldn't change this setting from the default, which would have the effect of there being no randomization of the seed, and repeat runs would use the same seed. At the moment, we don't have a way to store the seed in provenance, but we know that this is something that should be addressed. What I would recommend is that you make the default "random", and if you want to make sure your seed is stored in provenance, you can generate a random in outside of QIIME 2 and pass that in. Do you want to make that change, and then ping me for re-review? Or let me know if you'd like to discuss more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments on this PR and on #317
Okay that makes sense. I'll make the changes. |
Hi @gregcaporaso |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VinzentRisch, thanks for the edits. I have additional specific suggestions on this implementation.
Co-authored-by: Greg Caporaso <[email protected]>
Co-authored-by: Greg Caporaso <[email protected]>
Hi @gregcaporaso |
Thanks @VinzentRisch - I will review this week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @VinzentRisch. I tested this locally and it's working for me. This is ready for merge, pending the failing heatmap tests.
I'm not sure what's going on with the failing heatmap tests, but I don't think it's anything that you're doing. I'll discuss with the folks on my end to figure out what's going on and then get this merged.
@VinzentRisch, do you have an option to "Update branch" on this pull request, as described here. If so, could you do that? I want to see if it addresses the test failures. |
I updated the branch, but the tests are still failing. |
Thanks @VinzentRisch, we'll look into it from here. I don't think it's anything that you're doing wrong. |
Alright, we got it sorted out @VinzentRisch - merged. Thanks again for the work on this one, and for your patience with the back-and-forth! |
closes #55
subsample-ids
function.