-
Notifications
You must be signed in to change notification settings - Fork 80
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
After recent Qiita update, "Principal Coordinate Analysis Biplot [pcoa_biplot] (qiime2 2022.11.1)" now fails #3266
Comments
Looking much closer to this issue, the problem is how the output is defined in that method (pcoa_biplot) and I'm not sure what is the best way forward. Specifically, In [9]: pm.plugins['diversity'].methods['pcoa'].signature.outputs['pcoa']
Out[9]: ParameterSpec(qiime_type=PCoAResults, view_type=<class 'skbio.stats.ordination._ordination_results.OrdinationResults'>, default=NOVALUE, description='The resulting PCoA matrix.')
In [10]: pm.plugins['diversity'].methods['pcoa_biplot'].signature.outputs['biplot']
Out[10]: ParameterSpec(qiime_type=PCoAResults % Properties('biplot'), view_type=<class 'skbio.stats.ordination._ordination_results.OrdinationResults'>, default=NOVALUE, description='The resulting PCoA matrix.') as you can see the issue is the Properties value, which AFAIK is the only parameter in the default plugins to have that property. Is there a reason to be this way? Anyway, we can hardcode something but just wondering if having a Property is actually required; @ElDeveloper what do you think? |
A full fix for this would be to support the |
For completeness, you are right that |
Do you think this is related to
#3255 ?
|
Might be? I am actually confused as to how that biplot was loaded in the system in the first place. Considering the |
Error executing Principal Coordinate Analysis Biplot [pcoa_biplot]: ['Traceback (most recent call last):\n', ' File "/home/qiita/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/qiita_client/plugin.py", line 265, in call\n success, artifacts_info, error_msg = task(\n', ' File "/home/qiita/miniconda3/envs/qiime2-2022.11/lib/python3.8/site-packages/qiita_client/plugin.py", line 105, in call\n return self.function(qclient, server_url, job_id, output_dir)\n', ' File "/home/qiita/qiita_spots/qp-qiime2/qp_qiime2/qp_qiime2.py", line 536, in call_qiime2\n atype = Q2_QIITA_SEMANTIC_TYPE[str(q2artifact.type)]\n', 'KeyError: "PCoAResults % Properties('biplot')"\n']
Using 'Unweighted Unifrac PCoA results', and a collapsed, rarefied, 'relative frequency table'
Reported by @ekunselman biocore/emperor#814
The text was updated successfully, but these errors were encountered: