mretegan / crispy

Core-Level Spectroscopy Simulations in Python

Home Page:http://www.esrf.eu/computing/scientific/crispy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid path in the config file

mretegan opened this issue · comments

Running calculations fails if the current folder path gets corrupted.

Traceback (most recent call last):
  File "/Users/marius/crispy/crispy/quanty/main.py", line 501, in run
    self.state.run()
  File "/Users/marius/crispy/crispy/quanty/calculation.py", line 743, in run
    self.saveInput()
  File "/Users/marius/crispy/crispy/quanty/calculation.py", line 736, in saveInput
    os.chdir(settings.value("CurrentPath"))
TypeError: chdir: path should be string, bytes, os.PathLike or integer, not NoneType