Skip to content

Commit 9340105

Browse files
hausmannsC-AchardMMathisLab
authored
correct readme install (#92)
* correct readme install * Try to fix seed overflow in tests * Update test_and_deploy.yml --------- Co-authored-by: C-Achard <[email protected]> Co-authored-by: Mackenzie Mathis <[email protected]>
1 parent 57b0353 commit 9340105

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
matrix:
2323
# platform: [ubuntu-latest, windows-latest] # , macos-latest
2424
platform: [ubuntu-latest]
25-
python-version: ['3.8', '3.9', '3.10']
25+
python-version: ['3.8', '3.9'] #issues with monai and 3.10; pausing for now. users should use python 3.9
2626

2727
steps:
2828
- uses: actions/checkout@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ To avoid issues when installing on the ARM64 architecture, please follow these s
104104

105105
git clone https://github.com/AdaptiveMotorControlLab/CellSeg3d.git
106106
cd CellSeg3d
107-
conda env create -f conda/CellSeg3D_ARM64.yml
107+
conda env create -f conda/napari_CellSeg3D_ARM64.yml
108108
conda activate napari_CellSeg3D_ARM64
109109

110110

napari_cellseg3d/_tests/test_plugin_training.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from pathlib import Path
22

3+
from monai.utils import set_determinism
4+
35
from napari_cellseg3d import config
46
from napari_cellseg3d.code_plugins.plugin_model_training import (
57
Trainer,
@@ -11,6 +13,7 @@
1113

1214

1315
def test_worker_configs(make_napari_viewer_proxy):
16+
set_determinism(seed=0)
1417
viewer = make_napari_viewer_proxy()
1518
widget = Trainer(viewer=viewer)
1619
# test supervised config and worker

0 commit comments

Comments
 (0)