Skip to content

Change the working dir of scripts to script path #11

Description

@MBartkowiakSTFC

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions