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

Change the working dir of scripts to script path #11

Open
MBartkowiakSTFC opened this issue Aug 22, 2024 · 0 comments
Open

Change the working dir of scripts to script path #11

MBartkowiakSTFC opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MBartkowiakSTFC
Copy link
Collaborator

Normally, MDANSE uses absolute paths in the scripts it creates. For tutorials, that's not possible, since we cannot predict where the users will place the files. The current solution of using a relative path and having the users start the script from the correct working directory has shown to be a potential problem.

In the future, we should add a line to every tutorial script which will change the working directory to that where the script is located.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant