Skip to content

Commit

Permalink
fix the plural/singular status of the nuclear drift table
Browse files Browse the repository at this point in the history
  • Loading branch information
vreuter committed Feb 19, 2025
1 parent f8ae600 commit cd6d0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cli/assign_spots_to_nucs.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def combine_subtables(ts: list[pd.DataFrame]) -> pd.DataFrame:

logging.info("Reading drift file for nuclei: %s", nuclei_drift_file)
drift_table_nuclei = pd.read_csv(nuclei_drift_file, index_col=False)
get_nuc_drifts: Callable[[FieldOfViewName], pd.DataFrame] = query_table_for_fov(drift_table_nuclei)
get_nuc_drift: Callable[[FieldOfViewName], pd.DataFrame] = query_table_for_fov(drift_table_nuclei)

logging.info("Reading coarse-drift file for spots: %s", spots_drift_file)
drift_table_spots = pd.read_csv(spots_drift_file, index_col=False)
Expand All @@ -212,7 +212,7 @@ def combine_subtables(ts: list[pd.DataFrame]) -> pd.DataFrame:
rois=rois,
nuc_label_img=nuc_mask_image,
new_col=NUC_LABEL_COL,
nuc_drifts=get_nuc_drifts(pos),
nuc_drift=get_nuc_drift(pos),
spot_drifts=get_spot_drifts(pos),
)
subtables.append(rois.copy())
Expand Down

0 comments on commit cd6d0d9

Please sign in to comment.