File tree Expand file tree Collapse file tree 3 files changed +22
-15
lines changed Expand file tree Collapse file tree 3 files changed +22
-15
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ ipython==8.12.3
61
61
isoduration == 20.11.0
62
62
jedi == 0.19.1
63
63
Jinja2 == 3.1.4
64
+ joblib == 1.5.0
64
65
json5 == 0.9.17
65
66
jsonpointer == 2.4
66
67
jsonschema == 4.21.1
@@ -157,6 +158,7 @@ rfc3986-validator==0.1.1
157
158
rich == 13.9.4
158
159
rpds-py == 0.18.0
159
160
scikit-image == 0.25.2
161
+ scikit-learn == 1.6.1
160
162
scipy == 1.13.0
161
163
seaborn == 0.13.2
162
164
Send2Trash == 1.8.2
@@ -179,6 +181,7 @@ stack-data==0.6.3
179
181
superqt == 0.7.1
180
182
tabulate == 0.9.0
181
183
terminado == 0.18.0
184
+ threadpoolctl == 3.6.0
182
185
tifffile == 2024.2.12
183
186
tinycss2 == 1.2.1
184
187
tokenize-rt == 5.2.0
Original file line number Diff line number Diff line change @@ -184,7 +184,10 @@ def make_datarray_spot(
184
184
dataarray = stack
185
185
else :
186
186
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
188
191
if dataarray is not None :
189
192
dataarray = np .asarray (np .matrix (np .squeeze (dataarray )).transpose ())
190
193
if len (dataarray .shape ) > 1 :
Original file line number Diff line number Diff line change @@ -672,20 +672,21 @@ def _analysis_loop(
672
672
cell_sigma2 = self .cell_sigma2 ,
673
673
d = self .d ,
674
674
)
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
+ )
689
690
690
691
start = time .time ()
691
692
You can’t perform that action at this time.
0 commit comments