Skip to content

Commit 15b5488

Browse files
committed
Merge remote-tracking branch 'origin/main' into JoshuaSiraj/fix-nnunet-background-json
2 parents 916b9f3 + 3abd9b2 commit 15b5488

File tree

130 files changed

+5570
-13153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+5570
-13153
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
matrix:
2727
os: [ubuntu-latest, macos-latest, windows-latest]
2828
env: ["py310", "py311", "py312", "py313"]
29+
TestAccessType: ["public"]
2930

3031
steps:
3132
- uses: actions/checkout@v4
@@ -34,9 +35,11 @@ jobs:
3435
with:
3536
os: ${{ matrix.os }}
3637
env: ${{ matrix.env }}
38+
test_access_type: ${{ matrix.TestAccessType }}
3739
github_token: ${{ secrets.MEDIMG_TESTDATA_PAT }}
3840
codecov_token: ${{ secrets.CODECOV_TOKEN }}
3941
test_type: "unittests"
42+
4043

4144
###############################################################################################
4245
# Integration-Tests: Run integration tests (downloading and running on data)
@@ -48,7 +51,7 @@ jobs:
4851
os: [ubuntu-latest, macos-latest, windows-latest]
4952
# just going to test lowest and latest
5053
env: ["py310", "py313"]
51-
TestAccessType: ["public", "private"]
54+
TestAccessType: ["public"]
5255

5356
# this action needs to be able to read contents of other repos
5457
# for the test data (specifically private test data)
@@ -133,14 +136,14 @@ jobs:
133136

134137
- name: Test docs build
135138
run: |
136-
pixi run -e ${{ matrix.env }} doc-build
139+
pixi run -e ${{ matrix.env }} doc-build
137140
138141
################################################################################################
139142
# Publish-Docs: Publish documentation to GitHub Pages using mike only on main branch
140143
################################################################################################
141144
Publish-Docs:
142-
needs: Build-Docs
143-
if: github.ref == 'refs/heads/development'
145+
needs: [Generate-PNG, Build-Docs]
146+
if: github.ref == 'refs/heads/main'
144147

145148
concurrency:
146149
group: ${{ github.workflow }}-${{ github.ref }}
@@ -173,7 +176,19 @@ jobs:
173176
pixi-version: v0.46.0
174177
cache: true
175178
locked: false # wont be the same because of the tag
176-
179+
- name: Build API Reference
180+
if: github.actor != 'github-actions[bot]'
181+
run: |
182+
pixi run -e ${{ matrix.env }} api-ref-build
183+
git add docs/reference
184+
185+
if ! git diff --cached --quiet; then
186+
187+
git commit -m "chore: update API Reference"
188+
git push
189+
else
190+
echo "No changes to amend"
191+
fi
177192
- name: Test docs build
178193
run: |
179194
pixi run -e ${{ matrix.env }} doc-build

assets/imgtools_cli.png

1.56 KB

docs/reference/.pages

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
nav:
2-
- ...
3-
- DICOM Utilities: dicom-utils
4-
- DICOM Sorting: dicomsort
2+
- ...
3+
- coretypes
4+
- dicom
5+
- io
6+
- loggers
7+
- pattern_parser
8+
- transforms
9+
- utils
10+
- vizualize

docs/reference/autopipeline.md

Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions

docs/reference/coretypes/.pages

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
nav:
2+
- ...
3+
- imagetypes
4+
- masktypes
5+
- spatial_types
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions

docs/reference/coretypes/box.md

Lines changed: 1 addition & 0 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nav:
2+
- ...

0 commit comments

Comments
 (0)