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

Consistent and intuitive handling of relative paths #104

Open
axch opened this issue Apr 19, 2017 · 1 comment
Open

Consistent and intuitive handling of relative paths #104

axch opened this issue Apr 19, 2017 · 1 comment

Comments

@axch
Copy link
Collaborator

axch commented Apr 19, 2017

The natural interpretation of relative file names in the keyword arguments of driver.simulate is relative to the working directory; whereas the natural interpretation of relative paths in the aronnax.conf file is relative to the location of that file, especially for inputs. We should make, implement, and document a conscious decision about relative path handling during configuration merge and subsequent interpretation; but perhaps that decision can wait until we have more experience using the new Aronnax driver.

@axch axch added the usability label Apr 19, 2017
@edoddridge
Copy link
Owner

i've been mulling this over and haven't come up with a definitive answer. Requiring that driver.simulate is called in a directory with an aronnax.conf file somewhat reduces the difficulty of this. In that situation both sets of relative paths are equivalent.

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

2 participants