Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amandine PERRIN
pipeline_annotation
Commits
2b05be3b
Commit
2b05be3b
authored
Dec 16, 2021
by
Amandine PERRIN
Browse files
Refseq can have several entries with same strain. Take into account in tests
parent
a97016e3
Pipeline
#71595
failed with stages
in 60 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_unit/test_prepare/test_download.py
View file @
2b05be3b
...
...
@@ -318,7 +318,7 @@ def test_download_specify_strains(caplog):
# Check path to uncompressed files is as expected
assert
db_dir
==
os
.
path
.
join
(
outdir
,
"Database_init"
)
# Check number of genomes downloaded
assert
nb_gen
=
=
4
assert
nb_gen
>
=
4
# there can be several genomes with same strain and spe_taxid (1 complete and one contigs for example)
# And that db_dir exists and contains nb_gen files
assert
os
.
path
.
isdir
(
db_dir
)
assert
len
(
os
.
listdir
(
db_dir
))
==
nb_gen
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment