merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
426 stars 145 forks source link

anvi-self-test fails #384

Closed amineche closed 8 years ago

amineche commented 8 years ago

I've installed anvio (version 2.0.2) and all required dependencies. But when I run the anvi-self-test command, I get the following error at the step : "Importing a state file into the merged profile" :

Traceback (most recent call last): File "/usr/local/bin/anvi-import-state", line 4, in import('pkg_resources').run_script('anvio==2.0.2', 'anvi-import-state') File "/usr/local/lib/python2.7/site-packages/setuptools-23.0.0-py2.7.egg/pkg_resources/init.py", line 719, in run_script File "/usr/local/lib/python2.7/site-packages/setuptools-23.0.0-py2.7.egg/pkg_resources/init.py", line 1504, in run_script File "/usr/local/lib/python2.7/site-packages/anvio-2.0.2-py2.7-linux-x86_64.egg/EGG-INFO/scripts/anvi-import-state", line 59, in main(args) File "/usr/local/lib/python2.7/site-packages/anvio-2.0.2-py2.7-linux-x86_64.egg/EGG-INFO/scripts/anvi-import-state", line 31, in main filesnpaths.is_file_json_formatted(args.state) File "/usr/local/lib/python2.7/site-packages/anvio-2.0.2-py2.7-linux-x86_64.egg/anvio/filesnpaths.py", line 204, in is_file_json_formatted json.load(open(file_path, 'rU')) IOError: [Errno 2] No such file or directory: 'example_state.json'

meren commented 8 years ago

Hi Mohamed,

I apologize for that. That is totally my fault, and is now fixed in commit fb8d8b0d697ae072b60231f0623290c09e2176df.

If you update your repo and reinstall anvi'o, things should run.

Best,

amineche commented 8 years ago

Thank you. It works now :)

Best

2016-07-28 5:27 GMT+02:00 A. Murat Eren notifications@github.com:

Closed #384 https://github.com/meren/anvio/issues/384.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/meren/anvio/issues/384#event-737334111, or mute the thread https://github.com/notifications/unsubscribe-auth/AMe3GIxhrHGzBnl55zU77zMYEDatCOdAks5qaCG9gaJpZM4JWuDw .