-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Using the input files from the example section of the documentation, SpectraFit crashes with the following error:
Traceback (most recent call last):
File "/$HOME/.local/bin/spectrafit", line 8, in
sys.exit(command_line_runner())
File "/$HOME/.local/pipx/venvs/spectrafit/lib/python3.7/site-packages/spectrafit/spectrafit.py", line 192, in command_line_runner
args = extracted_from_command_line_runner()
File "/$HOME/.local/pipx/venvs/spectrafit/lib/python3.7/site-packages/spectrafit/spectrafit.py", line 230, in extracted_from_command_line_runner
check_keywords_consistency(check_args=_args["settings"], ref_args=result)
KeyError: 'settings'
Adding ' "settings":{}, ' to the beginning of example.json solves the issue
Expected Behavior
No response
Steps To Reproduce
spectrafit data.txt -i example.json
⚙️ Environment
- OS:Ubuntu 20.04
- Python: 3.7.5
- spectrafit:0.8.6Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct