Skip to content

Commit

Permalink
update package data
Browse files Browse the repository at this point in the history
  • Loading branch information
colinvwood committed Oct 18, 2023
1 parent ecaa1b0 commit ca91868
Show file tree
Hide file tree
Showing 28 changed files with 8 additions and 8 deletions.
File renamed without changes.
14 changes: 7 additions & 7 deletions q2_moshpit/kraken2/tests/test_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_contigs(
report_format_mock,
output_format_mock
):
samples_dir = self.get_data_path(os.path.join('new', 'contigs'))
samples_dir = self.get_data_path(os.path.join('simulated-sequences', 'contigs'))
contigs = ContigSequencesDirFmt(samples_dir, "r")

common_args = ["--db", "/some/where/db", "--quick"]
Expand Down Expand Up @@ -398,8 +398,8 @@ def setUpClass(cls):
os.path.dirname(os.path.abspath(__file__)), 'data'
)

db_path = os.path.join(datadir, 'new', 'kraken2-db')
reads_path = os.path.join(datadir, 'new', 'reads')
db_path = os.path.join(datadir, 'simulated-sequences', 'kraken2-db')
reads_path = os.path.join(datadir, 'simulated-sequences', 'reads')

db = Kraken2DBDirectoryFormat(db_path, 'r')
samples = SingleLanePerSamplePairedEndFastqDirFmt(reads_path, 'r')
Expand Down Expand Up @@ -507,8 +507,8 @@ def setUpClass(cls):
os.path.dirname(os.path.abspath(__file__)), 'data'
)

db_path = os.path.join(datadir, 'new', 'kraken2-db')
contigs_path = os.path.join(datadir, 'new', 'contigs')
db_path = os.path.join(datadir, 'simulated-sequences', 'kraken2-db')
contigs_path = os.path.join(datadir, 'simulated-sequences', 'contigs')

db = Kraken2DBDirectoryFormat(db_path, 'r')
samples = ContigSequencesDirFmt(contigs_path, 'r')
Expand Down Expand Up @@ -581,8 +581,8 @@ def setUpClass(cls):
os.path.dirname(os.path.abspath(__file__)), 'data'
)

db_path = os.path.join(datadir, 'new', 'kraken2-db')
mags_path = os.path.join(datadir, 'new', 'mags')
db_path = os.path.join(datadir, 'simulated-sequences', 'kraken2-db')
mags_path = os.path.join(datadir, 'simulated-sequences', 'mags')

db = Kraken2DBDirectoryFormat(db_path, 'r')
samples = MAGSequencesDirFmt(mags_path, 'r')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
'data/kraken2-reports-select/*/*',
'data/kraken2-to-ncbi-tree/*',
'data/kraken2-to-ncbi-tree/*/*/*',
'data/contigs/*/*',
'data/simulated-sequences/**/*',
],
'q2_moshpit.dereplication.tests': [
'data/*', 'data/mags/*', 'data/mags/*/*',
Expand Down

0 comments on commit ca91868

Please sign in to comment.