Skip to content

Execution failure from change in working directory #605

Closed
@bmcfee

Description

One more issue relating to 0.6->0.7. One of my notebooks loads in a local data file, which lives in the same path as the notebooks, eg

content/chapter3/section.ipynb
content/chapter3/file.dat

The executor now fails when run from the top-level directory because it can't find the file in the local path. (FileNotFoundError)

I'd prefer to not hard-code the path into the notebook, and expect that the working directory should change to reflect the path of the notebook during execution.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions