-
Notifications
You must be signed in to change notification settings - Fork 22
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
Treat OutputFile fileName attribute as relative to the LEMS file directory #48
Comments
Thanks for pointing this out @JustasB. |
|
This will require a bit of work on the jlems java code, and will change the behaviour of the application in future for anyone running it from a different directory (though it is more consistent with the nml import & behaviour of jnml -neuron, so probably should be changed). |
Not urgent. I'm using a workaround of cd'ing into the target directory in the meantime. |
Currently, the value in Include tag, file attribute is treated differently from the fileName attribute of OutputFile tag. They should be treated the same way for consistency.
E.g.
<Include file="NML2_SingleCompHHCell.nml"/>
looks for NML2_SingleCompHHCell.nml in the same folder as the LEMS file.However,
<OutputFile fileName="ex5_v.dat">
writes to ex5_v.dat in the folder from where jnml is being executed, which is not necessarily the same one where the LEMS file is located.The text was updated successfully, but these errors were encountered: