Skip to content

Commit

Permalink
Fix broken build (#1608)
Browse files Browse the repository at this point in the history
In #1540, I missed a conversion from Reduce.FunctionSource to types.FunctionSource.
  • Loading branch information
Tony Tung authored Oct 9, 2019
1 parent 9592539 commit c9957ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def iss_pipeline(fov, codebook):
)

# detect spots using laplacian of gaussians approach
dots_max_projector = Filter.Reduce((Axes.ROUND, Axes.ZPLANE), func="max", module=Filter.Reduce.FunctionSource.np)
dots_max_projector = Filter.Reduce((Axes.ROUND, Axes.ZPLANE), func="max", module=FunctionSource.np)
dots_max = dots_max_projector.run(fov.get_image('dots'))
# locate spots in a reference image
spots = bd.run(reference_image=dots_max, image_stack=filtered)
Expand Down
4 changes: 2 additions & 2 deletions notebooks/ISS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
" measurement_type='mean',\n",
")\n",
"\n",
"dots_max_projector = Filter.Reduce((Axes.ROUND, Axes.ZPLANE), func=\"max\", module=Filter.Reduce.FunctionSource.np)\n",
"dots_max_projector = Filter.Reduce((Axes.ROUND, Axes.ZPLANE), func=\"max\", module=FunctionSource.np)\n",
"dots_max = dots_max_projector.run(dots)\n",
"spots = bd.run(image_stack=registered_imgs, reference_image=dots_max)\n",
"\n",
Expand Down Expand Up @@ -416,4 +416,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
2 changes: 1 addition & 1 deletion notebooks/py/ISS.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
measurement_type='mean',
)

dots_max_projector = Filter.Reduce((Axes.ROUND, Axes.ZPLANE), func="max", module=Filter.Reduce.FunctionSource.np)
dots_max_projector = Filter.Reduce((Axes.ROUND, Axes.ZPLANE), func="max", module=FunctionSource.np)
dots_max = dots_max_projector.run(dots)
spots = bd.run(image_stack=registered_imgs, reference_image=dots_max)

Expand Down

0 comments on commit c9957ea

Please sign in to comment.