diff --git a/ci/recipe/meta.yaml b/ci/recipe/meta.yaml index 43a87db..4ebf366 100644 --- a/ci/recipe/meta.yaml +++ b/ci/recipe/meta.yaml @@ -33,6 +33,7 @@ test: requires: - pytest - q2-types >={{ q2_types }} + - q2-vizard >={{ q2_vizard }} - q2-longitudinal >={{ q2_longitudinal }} - q2-feature-classifier >={{ q2_feature_classifier }} - qiime2 >={{ qiime2 }} diff --git a/rescript/evaluate.py b/rescript/evaluate.py index b54202d..56aa0c2 100644 --- a/rescript/evaluate.py +++ b/rescript/evaluate.py @@ -48,11 +48,13 @@ def evaluate_taxonomy(ctx, results.index = pd.Index( [str(i) for i in range(1, len(results.index) + 1)], name='id') results = q2.Metadata(results) - volatility = ctx.get_action('longitudinal', 'volatility') - plots, = volatility(metadata=results, - state_column='Level', - default_group_column='Dataset', - default_metric='Taxonomic Entropy') + raise ValueError(results) + lineplot = ctx.get_action('vizard', 'lineplot') + plots, = lineplot(metadata=results, + x_measure='Level', + y_measure='Metric Column', + group_by='Dataset', + title='Taxonomic Entropy') return plots