MikeDacre / fyrd

Submit functions and shell scripts to torque and slurm clusters or local machines using python.
https://fyrd.science
MIT License
22 stars 8 forks source link

KeyError: 'notify' when fyrd conf init #92

Open cvlvxi opened 5 years ago

cvlvxi commented 5 years ago

Running python 3.7 in virtualenv fyrd 0.6.2b1

Is there a default queue you wish to submit to if no other options are given?
If so enter the name below, or leave blank to ignore.

Default queue: batch

Thank you, configuring options.
Please edit the file directly to inspect or edit your config.

Done

New config:

Traceback (most recent call last):
  File "/misc/data/pyenvs/py371/bin/fyrd", line 10, in <module>
    sys.exit(main())
  File "/misc/data/pyenvs/py371/lib/python3.7/site-packages/fyrd/__main__.py", line 1151, in main
    return args.func(args)
  File "/misc/data/pyenvs/py371/lib/python3.7/site-packages/fyrd/__main__.py", line 332, in init_config
    for section in sorted(fyrd.conf.DEFAULTS, key=_sort_conf):
  File "/misc/data/pyenvs/py371/lib/python3.7/site-packages/fyrd/__main__.py", line 736, in _sort_conf
    return sections[key]
KeyError: 'notify'