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

improve error message when group column is missing #164

Open
alexg9010 opened this issue Feb 26, 2021 · 0 comments
Open

improve error message when group column is missing #164

alexg9010 opened this issue Feb 26, 2021 · 0 comments

Comments

@alexg9010
Copy link
Member

Right now we fail like this:

KeyError in line 193 of /gnu/store/0fjyszb91qqki545krh0j3244932c1c7-pigx-chipseq-0.0.51/libexec/pigx_chipseq/scripts/Check_Config.py:
'Group'
  File "/gnu/store/0fjyszb91qqki545krh0j3244932c1c7-pigx-chipseq-0.0.51/libexec/pigx_chipseq/Snake_ChIPseq.py", line 47, in <module>
  File "/gnu/store/0fjyszb91qqki545krh0j3244932c1c7-pigx-chipseq-0.0.51/libexec/pigx_chipseq/scripts/Check_Config.py", line 37, in validate_config
  File "/gnu/store/0fjyszb91qqki545krh0j3244932c1c7-pigx-chipseq-0.0.51/libexec/pigx_chipseq/scripts/Check_Config.py", line 193, in check_settings
  File "/gnu/store/0fjyszb91qqki545krh0j3244932c1c7-pigx-chipseq-0.0.51/libexec/pigx_chipseq/scripts/Check_Config.py", line 193, in <listcomp>

This should become a more descriptive error.

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

1 participant