-
Notifications
You must be signed in to change notification settings - Fork 25
MAINT: adding deprecation warnings to several actions #243
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
base: master
Are you sure you want to change the base?
Conversation
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 @mikerobeson ! I think we also discussed that get-ncbi-genomes
should be split off into a separate plugin as well — @misialq @lizgehret is that right?
Also @lizgehret do you think it's enough to just add deprecated=True
or do you think that we should use a custom warning message with these actions (as they will be moved to separate plugins in the future)?
Hi @nbokulich, I do remember discussing moving |
Hey @nbokulich @mikerobeson I actually think it would be more clear if we add a
I think it should be pretty straightforward to add a similar attr for
And then the warning message will look something like:
|
Thanks @lizgehret! Should we have an option that will differentiate "migrated in this current release" and "plans to be migrated in a future release"? Also, a note on which QIIME 2 distribution? As we won't be moving anything this cycle, and we are also considering which distributions some actions or entire plugins make sense for certain distributions? I think we'd want something like these?:
|
Oh yeah I like that! I'll play around with formatting and see if we can include the distro/release epoch; that would make things very clear for users. |
Addresses #242.
Set
deprecated=True
for the following actions:q2-feature-classifier
orq2-alignment
plugins (Amplicon distro). As far as I can tell these actions are the only ones that depend on these plugins.Eventually, these actions will either be migrated over to other QIIME 2 plugins, or migrated into relevant RESCRIPt variants for the various QIIME 2 distributions.