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

Always insert dials into the path when refreshing #2089

Merged
merged 2 commits into from
Apr 22, 2022

Conversation

ndevenish
Copy link
Member

In cases where prebuilt cctbx was being used, the modules/ folder might not be
a tbx-repository, and so the "import dials" inside dxtbx would fail to even
find DIALS as a namespace repository. This meant that there was no broken
namespace module in sys.modules.

With this change, the dials/src folder is always added to sys.path while
refreshing.

ndevenish and others added 2 commits April 22, 2022 12:12
In cases where prebuilt cctbx was being used, the modules/ folder might not be
a tbx-repository, and so the "import dials" inside dxtbx would fail to even
find DIALS as a namespace repository. This meant that there was no broken
namespace module in sys.modules.

With this change, the dials/src folder is always added to sys.path while
refreshing.
@ndevenish ndevenish enabled auto-merge (squash) April 22, 2022 11:27
@ndevenish ndevenish merged commit 140191f into dials:main Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants