From c7bc4458e4334f6d5c9339a10746d9a05b13f9b6 Mon Sep 17 00:00:00 2001 From: Carsen Stringer Date: Wed, 14 Feb 2024 15:00:42 -0500 Subject: [PATCH] bug in gui import and adding fontsize --- README.md | 4 ++-- cellpose/__main__.py | 2 +- cellpose/gui/gui.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 265ad3ea..d628e01a 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Stringer, C., Wang, T., Michaelos, M., & Pachitariu, M. (2021). Cellpose: a gene **If you use the new human-in-the-loop training, please also cite the Cellpose 2.0 [paper](https://www.nature.com/articles/s41592-022-01663-4):** Pachitariu, M. & Stringer, C. (2022). Cellpose 2.0: how to train your own model. Nature methods, 1-8. -**If you use the restoration models, please also cite the Cellpose3 [paper]():** +**If you use the restoration models, please also cite the Cellpose3 [paper](https://www.biorxiv.org/content/10.1101/2024.02.10.579780v1):** Stringer, C. & Pachitariu, M. (2024). Cellpose3: one-click image restoration for improved segmentation. bioRxiv. :triangular_flag_on_post: All models in Cellpose, except `yeast_BF_cp3`, `yeast_PhC_cp3`, and `deepbacs_cp3`, are trained on some amount of data that is **CC-BY-NC**. The Cellpose annotated dataset is also CC-BY-NC. @@ -40,7 +40,7 @@ Stringer, C. & Pachitariu, M. (2024). Cellpose3: one-click image restoration for Cellpose3 enables image restoration in the GUI and the API (CLI support and example notebooks coming soon!) To learn more... * Check out the paper [thread](). -* Check out the [paper](). +* Check out the [paper](https://www.biorxiv.org/content/10.1101/2024.02.10.579780v1). Try out the new `cyto3` super-generalist Cellpose model with `model_type="cyto3"`. There are some Cellpose API changes from v2.0 which will be documented soon. diff --git a/cellpose/__main__.py b/cellpose/__main__.py index dadbbe90..96fc155a 100644 --- a/cellpose/__main__.py +++ b/cellpose/__main__.py @@ -4,7 +4,7 @@ import sys, os, glob, pathlib, time import numpy as np -from cellpose.gui import gui_old +from cellpose.gui import gui from natsort import natsorted from tqdm import tqdm from cellpose import utils, models, io, version_str, train diff --git a/cellpose/gui/gui.py b/cellpose/gui/gui.py index c0f9a3dd..3c7c8b3d 100644 --- a/cellpose/gui/gui.py +++ b/cellpose/gui/gui.py @@ -489,6 +489,7 @@ def make_buttons(self): b0+=1 self.segaBox = QCollapsible("additional settings") self.segaBox.setFont(self.medfont) + self.segaBox._toggle_btn.setFont(self.medfont) self.segaBoxG = QGridLayout() _content = QWidget() _content.setLayout(self.segaBoxG) @@ -675,7 +676,7 @@ def make_buttons(self): b0+=1 # FILTERING self.filtBox = QCollapsible("custom filter settings") - self.filtBox.setFont(self.medfont) + self.filtBox._toggle_btn.setFont(self.medfont) self.filtBoxG = QGridLayout() _content = QWidget() _content.setLayout(self.filtBoxG)