Skip to content

Commit

Permalink
Merge pull request #1350 from proektlab/ipp-async-fix
Browse files Browse the repository at this point in the history
Fix map_async call on DirectView causing error
  • Loading branch information
pgunn committed May 12, 2024
2 parents dea8431 + aa65ab3 commit 50fafa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caiman/source_extraction/cnmf/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def threshold_components(A, dims, medw=None, thr_method='max', maxthr=0.1, nrgth
res = dview.map_async(
threshold_components_parallel, pars).get(4294967)
else:
res = dview.map_async(threshold_components_parallel, pars)
res = dview.map_sync(threshold_components_parallel, pars)
else:
res = list(map(threshold_components_parallel, pars))

Expand Down

0 comments on commit 50fafa3

Please sign in to comment.