Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
Henley13 committed May 5, 2020
1 parent 2271aa9 commit d3ba99a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bigfish/detection/cluster_decomposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

# TODO complete documentation methods
# TODO add sanity check functions
# TODO problem: can return less mRNAs than before decomposition

# ### Gaussian function ###

Expand Down Expand Up @@ -305,6 +306,7 @@ def build_reference_spot_3d(image, spots, radius, method="median"):
l_reference_spot.append(image_spot)

# if no spot where detected
# TODO problem when it returns None
if len(l_reference_spot) == 0:
return None

Expand Down Expand Up @@ -1153,6 +1155,7 @@ def run_decomposition(image, spots, radius, min_area=2, resolution_z=300,
return spots_out_cluster, spots_in_cluster, cluster, reference_spot

# build a reference median spot
# TODO case where no reference spots are computed
reference_spot = build_reference_spot_3d(
image,
spots,
Expand Down

0 comments on commit d3ba99a

Please sign in to comment.