Skip to content

Commit

Permalink
pass the optional timepoint along to the real label determination fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
vreuter committed Feb 19, 2025
1 parent da55100 commit d3fa335
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cli/assign_spots_to_nucs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _determine_labels(
new_col: str,
nuc_drift: pd.DataFrame,
spot_drifts: pd.DataFrame,
timepoint: Option[int] = Option.Nothing(),
timepoint: Option[int],
) -> pd.DataFrame:
"""
Check if a spot is in inside a segmented nucleus.
Expand Down Expand Up @@ -215,6 +215,7 @@ def combine_subtables(ts: list[pd.DataFrame]) -> pd.DataFrame:
new_col=NUC_LABEL_COL,
nuc_drift=get_nuc_drift(pos),
spot_drifts=get_spot_drifts(pos),
timepoint=timepoint,
)
subtables.append(rois.copy())

Expand Down

0 comments on commit d3fa335

Please sign in to comment.