Skip to content

Commit d2e3a9a

Browse files
committed
update default ops params in gui to be set to cpsam instead of cyto
1 parent 39f4ec0 commit d2e3a9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ These settings are only used if ``ops['anatomical_only']`` is set to an integer
283283

284284
- **spatial_hp_cp**: (*int, default: 0*) Window for spatial high-pass filtering of image to be used for cellpose.
285285

286-
- **pretrained_model**: (*str, default: 'cyto'*) Path to pretrained model or string for model type (can be user's model ).
286+
- **pretrained_model**: (*str, default: 'cpsam'*) Path to pretrained model or string for model type (can be user's model ).
287287

288288
Signal extraction settings
289289
~~~~~~~~~~~~~~~~~~~~~~~~~~

suite2p/gui/rungui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,8 @@ def run_S2P(self):
436436
if len(self.opslist) == 0:
437437
self.add_ops()
438438
# pre-download model
439-
pretrained_model_string = self.ops.get("pretrained_model", "cyto")
440-
pretrained_model_string = pretrained_model_string if pretrained_model_string is not None else "cyto"
439+
pretrained_model_string = self.ops.get("pretrained_model", "cpsam")
440+
pretrained_model_string = pretrained_model_string if pretrained_model_string is not None else "cpsam"
441441
pretrained_model_path = model_path(pretrained_model_string, 0)
442442
self.finish = True
443443
self.error = False

0 commit comments

Comments
 (0)