File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ ipython==8.12.3
6161isoduration == 20.11.0
6262jedi == 0.19.1
6363Jinja2 == 3.1.4
64+ joblib == 1.5.0
6465json5 == 0.9.17
6566jsonpointer == 2.4
6667jsonschema == 4.21.1
@@ -157,6 +158,7 @@ rfc3986-validator==0.1.1
157158rich == 13.9.4
158159rpds-py == 0.18.0
159160scikit-image == 0.25.2
161+ scikit-learn == 1.6.1
160162scipy == 1.13.0
161163seaborn == 0.13.2
162164Send2Trash == 1.8.2
@@ -179,6 +181,7 @@ stack-data==0.6.3
179181superqt == 0.7.1
180182tabulate == 0.9.0
181183terminado == 0.18.0
184+ threadpoolctl == 3.6.0
182185tifffile == 2024.2.12
183186tinycss2 == 1.2.1
184187tokenize-rt == 5.2.0
Original file line number Diff line number Diff line change @@ -184,7 +184,10 @@ def make_datarray_spot(
184184 dataarray = stack
185185 else :
186186 da = stack
187- dataarray = np .hstack ([dataarray , da ])
187+ if dataarray is not None :
188+ dataarray = np .hstack ([dataarray , da ])
189+ else :
190+ dataarray = da
188191 if dataarray is not None :
189192 dataarray = np .asarray (np .matrix (np .squeeze (dataarray )).transpose ())
190193 if len (dataarray .shape ) > 1 :
Original file line number Diff line number Diff line change @@ -672,20 +672,21 @@ def _analysis_loop(
672672 cell_sigma2 = self .cell_sigma2 ,
673673 d = self .d ,
674674 )
675- IO .save_analysis (
676- to_save ,
677- to_save_largeobjects ,
678- analysis_directory ,
679- imtype ,
680- protein_string ,
681- cell_string ,
682- files ,
683- i ,
684- z_planes ,
685- lo_mask ,
686- cell_mask = cell_mask if cell_analysis else None ,
687- one_savefile = one_savefile ,
688- )
675+ if to_save is not None :
676+ IO .save_analysis (
677+ to_save ,
678+ to_save_largeobjects ,
679+ analysis_directory ,
680+ imtype ,
681+ protein_string ,
682+ cell_string ,
683+ files ,
684+ i ,
685+ z_planes ,
686+ lo_mask ,
687+ cell_mask = cell_mask if cell_analysis else None ,
688+ one_savefile = one_savefile ,
689+ )
689690
690691 start = time .time ()
691692
You can’t perform that action at this time.
0 commit comments