Skip to content

Commit

Permalink
Merge pull request #116 from hci-unihd/plantseg_napari
Browse files Browse the repository at this point in the history
Major refactor of all PlantSeg process and add support for napari as viewer
  • Loading branch information
lorenzocerrone authored Jan 20, 2023
2 parents 77097dd + 698f663 commit a76354f
Show file tree
Hide file tree
Showing 77 changed files with 3,550 additions and 1,219 deletions.
35 changes: 22 additions & 13 deletions .github/workflows/build-deploy-on-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,38 @@ jobs:
- name: Print PlantSeg version name
run: |
echo $RELEASE_VERSION
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
- name: Add conda to system path
auto-activate-base: true
activate-environment: ""
channels: local,conda-forge,defaults
channel-priority: false

- shell: bash -l {0}
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Build PlantSeg
conda info --envs
- name: Build PlantSeg using Boa
shell: bash -l {0}
run: |
conda install -q conda-build
conda build -c conda-forge -c awolny conda-recipe
- name: Install dependencies
conda config --set allow_conda_downgrades true
conda install conda=4.12.0 -y
conda install --yes -c conda-forge mamba
mamba install -q boa
mamba mambabuild -c conda-forge -c awolny conda-recipe
- name: Create PlantSeg env
run: |
conda install -c conda-forge -c awolny --use-local plantseg
mamba create -n plant-seg -c local -c conda-forge -c awolny plantseg pytest
- name: Run pytest
shell: bash -l {0}
run: |
conda install pytest
conda activate plant-seg
pytest
conda deactivate
- name: Deploy on conda
if: ${{ startsWith( github.ref, 'refs/tags/') && success() }}
env:
ANACONDA_SECRET: ${{ secrets.ANACONDA_TOKEN }}
shell: bash -l {0}
run: |
conda install -q anaconda-client
mamba install -q anaconda-client
anaconda -t $ANACONDA_SECRET upload $CONDA/conda-bld/**/plantseg-*.tar.bz2
44 changes: 0 additions & 44 deletions Documentation-GUI/Data-Processing.md

This file was deleted.

29 changes: 0 additions & 29 deletions Documentation-GUI/Predictions.md

This file was deleted.

205 changes: 0 additions & 205 deletions Documentation-GUI/README.md

This file was deleted.

49 changes: 0 additions & 49 deletions Documentation-GUI/Segmentation.md

This file was deleted.

Binary file removed Documentation-GUI/images/3datlas_leaf_raw.png
Binary file not shown.
Binary file removed Documentation-GUI/images/3datlas_root_raw.png
Binary file not shown.
Binary file removed Documentation-GUI/images/cnn-predictions.png
Binary file not shown.
Binary file removed Documentation-GUI/images/confocal.png
Binary file not shown.
Binary file removed Documentation-GUI/images/cos_root_mc_raw.png
Binary file not shown.
Binary file removed Documentation-GUI/images/main_figure.png
Binary file not shown.
Binary file removed Documentation-GUI/images/main_figure_nologo.png
Binary file not shown.
Binary file removed Documentation-GUI/images/meristem.png
Binary file not shown.
Binary file removed Documentation-GUI/images/plantseg_overview.png
Binary file not shown.
Binary file removed Documentation-GUI/images/preprocessing.png
Binary file not shown.
Binary file removed Documentation-GUI/images/segmentation.png
Binary file not shown.
Binary file removed Documentation-GUI/images/tum_ovules_mc_raw.png
Binary file not shown.
Loading

0 comments on commit a76354f

Please sign in to comment.