- edited description
AttributeError: module '__main__' has no attribute 'db_resfinder/'
Hi, i am trying to test resfinder installation and it give following error ? If anyone know anything about it please help me.
python3 tests/functional_tests.py -db_point DB_PATH_POINT db_pointfinder/ -db_res DB_PATH_RES db_resfinder/ -k /home/bvs/Neelam/resfinder/kma -b /usr/bin/blastn
EE
ERROR: db_pointfinder/ (unittest.loader._FailedTest)
AttributeError: module 'main' has no attribute 'db_pointfinder/'
======================================================================
ERROR: db_resfinder/ (unittest.loader._FailedTest)
AttributeError: module 'main' has no attribute 'db_resfinder/'
Ran 2 tests in 0.000s
FAILED (errors=2)
Thank you
Comments (4)
-
reporter -
reporter - edited description
-
Hello,
Thank you for your interest in Resfinder.To run the functional test you need to replace DB_PATH_POINT and DB_PATH_RES with the appropriate paths and DB_PATH_POINT and DB_PATH_RES should not be included in the command.
It should look something like this : (depending on where you have saved the databases you may need to alter the paths)
python3 tests/functional_tests.py -db_point /home/bvs/Neelam/resfinder/db_pointfinder/ -db_res /home/bvs/Neelam/resfinder/db_resfinder/ -k /home/bvs/Neelam/resfinder/kma -b /usr/bin/blastn
Best regards
Maja, CGE Helpdesk
-
- changed status to resolved
- Log in to comment