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

Run PyDREAM with python 3.8 #17

Merged
merged 8 commits into from
Feb 18, 2020
Merged

Run PyDREAM with python 3.8 #17

merged 8 commits into from
Feb 18, 2020

Conversation

ortega2247
Copy link
Contributor

multiprocessing has three different implementations of pool.Pool().Process() according to the python version (2.7, 3.4-3.7.0, 3.7.1) This PR copies the solution provided in the nipype package. Also, I added a new argument that enables python 3 users to choose the multiprocessing context used to run a PyDREAM calibration. Fixes #16

@ortega2247 ortega2247 requested a review from alubbock February 13, 2020 23:56
alubbock
alubbock previously approved these changes Feb 17, 2020
pydream/Dream.py Outdated Show resolved Hide resolved
pydream/Dream.py Show resolved Hide resolved
pydream/Dream.py Outdated Show resolved Hide resolved
pydream/Dream.py Outdated Show resolved Hide resolved
pydream/core.py Outdated Show resolved Hide resolved
pydream/core.py Show resolved Hide resolved
pydream/core.py Outdated Show resolved Hide resolved
@alubbock alubbock self-requested a review February 17, 2020 23:35
@alubbock alubbock dismissed their stale review February 17, 2020 23:36

Changes required

Copy link
Contributor

@alubbock alubbock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Please make changes as described. Thanks.

@ortega2247
Copy link
Contributor Author

Since the requested changes were minimal and the tests passed I'm going to go ahead and merge this PR

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.

DreamPool implementation seems incompatible with Python3.8 multiprocess?
2 participants