openghg / openghg_inversions

University of Bristol Atmospheric Chemistry Research Group RHIME Inversion code (with openghg dependency)
MIT License
5 stars 0 forks source link

config_file in run_hbmcmc.py is of type _str_ but should be of type _PosixPath_ #194

Closed alexdanjou closed 3 months ago

alexdanjou commented 3 months ago

Error message : Traceback (most recent call last): File "/user/home/bq24992/openghg_inversions/openghg_inversions/hbmcmc/run_hbmcmc.py", line 218, in if not config_file.exists(): ^^^^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'exists'

Just need to convert to Path when assigning variable ~25 lines before.