Skip to content
Snippets Groups Projects
Commit d5b107ae authored by Martin Larralde's avatar Martin Larralde
Browse files

Fix path to data folder in `benches/mapping/bench.py`

parent f3038fb1
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ import sys ...@@ -8,7 +8,7 @@ import sys
import warnings import warnings
from itertools import islice from itertools import islice
sys.path.insert(0, os.path.realpath(os.path.join(__file__, "..", ".."))) sys.path.insert(0, os.path.realpath(os.path.join(__file__, "..", "..", "..")))
import Bio.SeqIO import Bio.SeqIO
import numpy import numpy
...@@ -25,7 +25,7 @@ args = parser.parse_args() ...@@ -25,7 +25,7 @@ args = parser.parse_args()
genomes = [ genomes = [
list(Bio.SeqIO.parse(filename, "fasta")) list(Bio.SeqIO.parse(filename, "fasta"))
for filename in (glob.glob("data/*.fna") + glob.glob("vendor/FastANI/data/*.fna")) for filename in glob.glob(os.path.join(args.data, "*.fna"))
] ]
with rich.progress.Progress(transient=True) as progress: with rich.progress.Progress(transient=True) as progress:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment