xBOUT
xBOUT copied to clipboard
Missing files give an error of "Do not know how to read file extension"
It would be nice to give a more useful error:
- Expected file name but got a folder
- File does not exist
Maybe some more things we should check ... ?
Is it just a matter of putting this line: https://github.com/boutproject/xBOUT/blob/467016021b8650e8e107936f8aa487cd5168eb97/xbout/load.py#L746
after the checks on filepaths in that function?