jodyphelan / malaria-profiler

0 stars 2 forks source link

AttributeError: module 'malaria_profiler' has no attribute 'create_species_result' #15

Open vappiah opened 1 month ago

vappiah commented 1 month ago

Hi @jodyphelan I get the below message when I run malaria-profiler on a pair of fastq files. _AttributeError: module 'malaria_profiler' has no attribute 'create_species_result'. Did you mean: 'write_speciestext'?

Please advice.

PS Here is the command I used malaria-profiler profile -1 ./fastq/ERR2913225_1.fastq.gz -2 ./fastq/ERR2913225_2.fastq.gz -p output.txt -t 8 --txt

jodyphelan commented 1 month ago

Hi @vappiah

Can you let me know how you installed malaria-profiler? And which version do you have?

vappiah commented 1 month ago

Hi @jodyphelan

The version is 0.0.5 I used the instruction here to install

wget https://raw.githubusercontent.com/jodyphelan/pathogen-profiler/dev/conda/linux-latest.txt mamba create --name mp --file linux-latest.txt conda activate mp pip install --force-reinstall git+https://github.com/jodyphelan/pathogen-profiler.git@dev pip install --force-reinstall git+https://github.com/jodyphelan/malaria-profiler.git@dev malaria-profiler update_db

jodyphelan commented 1 month ago

I've updated the dev branch with a fix for this. After you run pip install --force-reinstall git+https://github.com/jodyphelan/malaria-profiler.git@dev again it should work