Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Model Importer won't read a filename with escaped spaces #126

Open
jbudynk opened this issue Nov 29, 2016 · 0 comments
Open

Custom Model Importer won't read a filename with escaped spaces #126

jbudynk opened this issue Nov 29, 2016 · 0 comments

Comments

@jbudynk
Copy link
Member

jbudynk commented Nov 29, 2016

On OS X:

The 'install' button is disabled when a filename like

/Path/to\ my/model.txt

is used. The 'install' button is enabled when the "\" is omitted, but on trying to fit with this model, the fit fails with "No such file or directory: '/Path/to\\'".

The Custom Model Importer should either accept "\" in the filename, or append "\" to spaces when loading the model to fit in Sherpa.

On Linux, spaces are allowed in the file path. "\" still aren't allowed in the path. There's no problem with reading paths/filenames with spaces on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant