You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Experiments that are not part of an ophys container or do not have cell matching run on them for whatever reason will not have values for cell_specimen_id (they will be NaN). This breaks several functions that expect the cell_specimen_id column, including build_tidy_cell_df.
We need to add some functionality either defaults to use cell_roi_id when cell_specimen_id is not present, or replaces the values of cell_specimen_id column with the values of cell_roi_id to ensure that subsequent functions can run.
The former solution is probably preferable in terms of explicitness (i.e. you know for sure that cell_roi_id was used, but likely requires more extensive intervention into the code.
The text was updated successfully, but these errors were encountered:
matchings
changed the title
Make tidy_cell_df and other functions robust to lack of cell_specimen_id
Make ophys analysis functions robust to lack of cell_specimen_idSep 15, 2022
Experiments that are not part of an ophys container or do not have cell matching run on them for whatever reason will not have values for
cell_specimen_id
(they will be NaN). This breaks several functions that expect thecell_specimen_id
column, includingbuild_tidy_cell_df
.We need to add some functionality either defaults to use
cell_roi_id
whencell_specimen_id
is not present, or replaces the values ofcell_specimen_id
column with the values ofcell_roi_id
to ensure that subsequent functions can run.The former solution is probably preferable in terms of explicitness (i.e. you know for sure that
cell_roi_id
was used, but likely requires more extensive intervention into the code.The text was updated successfully, but these errors were encountered: