From ea7fe2166e3ab182cc1024604d3c793e1a632831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Ho=CC=88rst?= Date: Tue, 2 Apr 2024 14:41:17 +0200 Subject: [PATCH] Fixing environment --- .github/workflows/test_build.yml | 2 ++ environment.yaml | 32 ++++++++++++++++---------------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 4be9277..33779da 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -40,5 +40,7 @@ jobs: run: python -m pytest -vv -s ./tests/test_macenko_module - name : Run Core Tests run: python -m pytest -vv -s ./tests/test_core_modules + - name : Run Core Tests + run: python -m pytest -vv -s ./tests/test_dicom_module - name : Run Dataset and Dataloader Tests run: python -m pytest -vv -s ./tests/test_pytorch_dataset diff --git a/environment.yaml b/environment.yaml index 5cc910f..614815d 100644 --- a/environment.yaml +++ b/environment.yaml @@ -1,4 +1,4 @@ -name: pathopatch_env +name: pathopatch_env_2 channels: - conda-forge - defaults @@ -8,28 +8,28 @@ dependencies: - pip=23.0 - python-javabridge - pip: - - Pillow==9.5.0 - - PyYAML==6.0 + - Pillow>=9.5.0 + - PyYAML - Shapely==1.8.5.post1 - - black==23.1.0 - - colorama==0.4.6 - - flake8-html==0.4.3 - - flake8==6.0.0 - - genbadge==1.1.0 + - black + - colorama + - flake8-html + - flake8 + - genbadge - geojson>=3.0.0 - - matplotlib==3.7.1 - - natsort==8.4.0 + - matplotlib + - natsort - numpy>1.22,<1.24 - opencv_python_headless==4.5.4.58 - - openslide_python==1.2.0 - - pandas==1.5.3 - - pre-commit==3.0.3 + - openslide_python>=1.3.1 + - pandas + - pre-commit - pydantic==1.10.4 - pytest==7.4.4 - pytest-sugar==0.9.7 - rasterio==1.3.5.post1 - - scikit-image==0.19.3 - - torchvision==0.16.2 - - tqdm==4.65.0 + - scikit-image + - torchvision + - tqdm - wsidicomizer==0.13.2 - wsidicom==0.20.4