From 1caeb30d1b773f2c1e415d857443a5ab6e9b93ac Mon Sep 17 00:00:00 2001 From: Evan Bolyen Date: Wed, 31 Jul 2024 13:19:46 -0700 Subject: [PATCH] REF: updates to q2-types (#205) --- q2_feature_classifier/_cutter.py | 3 +-- q2_feature_classifier/tests/test_cutter.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/q2_feature_classifier/_cutter.py b/q2_feature_classifier/_cutter.py index 00b6132..15f83da 100644 --- a/q2_feature_classifier/_cutter.py +++ b/q2_feature_classifier/_cutter.py @@ -12,8 +12,7 @@ from qiime2.plugin import Int, Str, Float, Range, Choices from q2_types.feature_data import (FeatureData, Sequence, DNAIterator, - DNASequencesDirectoryFormat) -from q2_types.feature_data._format import DNAFASTAFormat + DNASequencesDirectoryFormat, DNAFASTAFormat) from q2_feature_classifier._skl import _chunks from q2_feature_classifier.classifier import _autotune_reads_per_batch diff --git a/q2_feature_classifier/tests/test_cutter.py b/q2_feature_classifier/tests/test_cutter.py index 312dab7..309b973 100644 --- a/q2_feature_classifier/tests/test_cutter.py +++ b/q2_feature_classifier/tests/test_cutter.py @@ -10,7 +10,7 @@ from qiime2.sdk import Artifact from qiime2.plugins.feature_classifier.actions import extract_reads -from q2_types.feature_data._format import DNAFASTAFormat +from q2_types.feature_data import DNAFASTAFormat from . import FeatureClassifierTestPluginBase