Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'mean_gc' #23

Closed
snayfach opened this issue Jul 13, 2020 · 1 comment
Closed

KeyError: 'mean_gc' #23

snayfach opened this issue Jul 13, 2020 · 1 comment

Comments

@snayfach
Copy link

Error running version phigaro 2.2.4-1:

$ phigaro -c config.yml -f test.fna -o out/${SLURM_ARRAY_TASK_ID} --not-open -e tsv -d
Traceback (most recent call last):
  File "/global/home/users/snayfach/.conda/envs/phigaro_env/bin/phigaro", line 8, in <module>
    sys.exit(main())
  File "/global/home/users/snayfach/.conda/envs/phigaro_env/lib/python3.7/site-packages/phigaro/cli/batch.py", line 210, in main
    task_output_file = run_tasks_chain(tasks)
  File "/global/home/users/snayfach/.conda/envs/phigaro_env/lib/python3.7/site-packages/phigaro/batch/runner.py", line 20, in run_tasks_chain
    task.run()
  File "/global/home/users/snayfach/.conda/envs/phigaro_env/lib/python3.7/site-packages/phigaro/batch/task/run_phigaro.py", line 69, in run
    mean_gc = self.config['phigaro']['mean_gc']
KeyError: 'mean_gc'
@PollyTikhonova
Copy link
Collaborator

Hello, your problems (this and previous) will be solved if you use the given file:
https://github.com/bobeobibo/phigaro/blob/master/config.yml

I am sorry, I forgot to update this part of READ.me while updating Phigaro up to 2.x.x version, I correct it now.

And thank you for the interest in our tool!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants