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

DIPY unringing no longer works parallely #105

Open
tashrifbillah opened this issue Mar 22, 2023 · 0 comments
Open

DIPY unringing no longer works parallely #105

tashrifbillah opened this issue Mar 22, 2023 · 0 comments

Comments

@tashrifbillah
Copy link
Collaborator

tashrifbillah commented Mar 22, 2023

Our environment has dipy 1.1.0. The current version is 1.6.0. The current version's unringing program does not work parallelly:

try:
N_CPU= int(sys.argv[3])
except:
N_CPU= 4
pool= Pool(N_CPU)
signal.signal(signal.SIGINT, sigint_handler)
try:
pool.map_async(_unring, volumes)
except KeyboardInterrupt:
pool.terminate()
else:
pool.close()
pool.join()

If we make it a for loop, the program works fine. But for loop is not an option of choice as it would take a very long time to unring 108 volumes (HCP-EP) data.

cc @yrathi @ShreyasFadnavis

@tashrifbillah tashrifbillah changed the title DIPY changed the name of unringed volumes DIPY unringing no longer works parallely Mar 22, 2023
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

No branches or pull requests

1 participant