Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dummyindex committed Sep 30, 2023
2 parents 19d6e2c + 947a726 commit 3412810
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion livecellx/core/single_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,8 @@ def get_feature_pd_series(self):
res_series = tmp_series
else:
res_series = pd.concat([res_series, tmp_series])
# add time frame information
res_series["t"] = self.timeframe
return res_series

def get_napari_shape_vec(self, coords):
Expand Down Expand Up @@ -953,7 +955,8 @@ def load_from_json_dict(self, json_dict, img_dataset=None, share_img_dataset=Tru
raise Warning(f"mask_dataset_json_path {mask_dataset_json_path} does not exist")

if self.img_dataset is None:
raise ValueError("img_dataset is None after attempting to load it")
main_warning("[SCT loading] img_dataset is None after attempting to load it")
# raise ValueError("img_dataset is None after attempting to load it")

self.img_total_timeframe = len(self.img_dataset) if self.img_dataset is not None else 0
self.timeframe_to_single_cell = {}
Expand Down

0 comments on commit 3412810

Please sign in to comment.