SciLifeLab / facs

Fast and Accurate Classification of Sequences using Bloom filters
http://facs.scilifelab.se/
Other
16 stars 9 forks source link

python: Bad address when inverting arguments for facs.query #90

Closed brainstorm closed 11 years ago

brainstorm commented 11 years ago

An infinite error message is displayed:

Problem reading Bloom filter: Bad address
Problem reading Bloom filter: Bad address
Problem reading Bloom filter: Bad address
(...)

When accidentally inverting the arguments for facs query, i.e:

facs.query('../tests/data/bloom/eschColi_K12.bloom',
           '../tests/data/synthetic_fastq/simngs_phiX_100.fastq')

Instead of:

facs.query('../tests/data/synthetic_fastq/simngs_phiX_100.fastq',
           '../tests/data/bloom/eschColi_K12.bloom')
tzcoolman commented 11 years ago

i see... looks like facs needs another correct exit for incorrect formatted query and reference files

tzcoolman commented 11 years ago

NP... I am fixing this one as well @brainstorm