Skip to content

Commit

Permalink
setup: bump dcnum from 0.25.0 to 0.25.1 (minor speed-up)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Sep 10, 2024
1 parent 1c7a57b commit 9b187b2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
0.6.2
- docs: fix typo in CLI help page
- setup: bump dcnum from 0.25.0 to 0.25.1 (minor speed-up)
- setup: support numpy 2
0.6.1
- enh: automatically detect flickering and apply offset correction
- setup: bump dcnum from 0.24.0 to 0.25.0 (flickering detection)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ classifiers = [
]
license = {text = "GPL version 3.0 or later"}
dependencies = [
"dcnum>=0.25.0",
"dcnum>=0.25.1",
"h5py>=3.0.0, <4",
"numpy>=1.21, <2", # CVE-2021-33430
"numpy>=1.21, <3", # CVE-2021-33430
]
dynamic = ["version"]

Expand Down
2 changes: 2 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def test_cli_set_background(cli_runner, method, kwarg, ppid):


def test_cli_torchmpo(cli_runner):
pytest.importorskip("torch")
mpath = retrieve_model("segm-torch-model_unet-dcnum-test_g1_910c2.zip")
path_temp = retrieve_data(
"fmt-hdf5_cytoshot_full-features_legacy_allev_2023.zip")
Expand Down Expand Up @@ -228,6 +229,7 @@ def test_cli_torchmpo(cli_runner):


def test_cli_torchmpo_wrong_model(cli_runner):
pytest.importorskip("torch")
mpath = retrieve_model("segm-torch-model_unet-dcnum-test_g1_910c2.zip")
path_temp = retrieve_data(
"fmt-hdf5_cytoshot_full-features_legacy_allev_2023.zip")
Expand Down
1 change: 1 addition & 0 deletions tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def test_gui_segm_torch_model(mw, qtbot, monkeypatch):


def test_gui_segm_torch_model_with_wrong_model(mw, qtbot, monkeypatch):
pytest.importorskip("torch")
# Create a test dataset with metadata that will make the model invalid
path = retrieve_data(
"fmt-hdf5_cytoshot_full-features_legacy_allev_2023.zip")
Expand Down

0 comments on commit 9b187b2

Please sign in to comment.