Closed valerian-chen closed 2 years ago
When I try to run Scotty_main_sweep_MAST-U_45177.py, I get the following error
File "c:\users\vh chen\appdata\local\programs\python\python39\lib\site-packages\scotty\density_fit.py", line 374, in density_fit name, fit_method = FIT_LENGTH_MAPPINGS[len(parameters)]
TypeError: object of type 'WindowsPath' has no len()
density_fit should be choosing to load from ne.dat if no parameters are given.
I have a fix, PR incoming shortly, just trying to see if I can get a test on this
When I try to run Scotty_main_sweep_MAST-U_45177.py, I get the following error
File "c:\users\vh chen\appdata\local\programs\python\python39\lib\site-packages\scotty\density_fit.py", line 374, in density_fit name, fit_method = FIT_LENGTH_MAPPINGS[len(parameters)]
TypeError: object of type 'WindowsPath' has no len()
density_fit should be choosing to load from ne.dat if no parameters are given.