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

unclear errors when config yaml file is badly formatted #107

Open
ctb opened this issue Mar 9, 2019 · 1 comment
Open

unclear errors when config yaml file is badly formatted #107

ctb opened this issue Mar 9, 2019 · 1 comment

Comments

@ctb
Copy link
Member

ctb commented Mar 9, 2019

checking for required files:
--------

while parsing a block mapping
  in "examples/yeast.yaml", line 36, column 3
expected <block end>, but found '<block mapping start>'
  in "examples/yeast.yaml", line 37, column 5
Traceback (most recent call last):
  File "./run_eelpond", line 351, in <module>
    sys.exit(main(args))
  File "./run_eelpond", line 186, in main
    configD = import_configfile(configfile)
  File "/mnt/research/ged/ctb/eelpond/ep_utils/utils.py", line 45, in import_configfile
    configDict = read_yaml(config_file)
  File "/mnt/research/ged/ctb/eelpond/ep_utils/utils.py", line 37, in read_yaml
    return yamlD
UnboundLocalError: local variable 'yamlD' referenced before assignment```
@ctb
Copy link
Member Author

ctb commented Mar 9, 2019

desired behavior: "your config yaml file is messed up, yo. here's the likely problem: "

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