Skip to content

Commit 29cabd3

Browse files
authored
Merge pull request #353 from VectorInstitute/dbe/bootcamp_materials
Adding in some docs for bootcamp participants
2 parents a541bc3 + ffd6ab2 commit 29cabd3

13 files changed

+2331
-1435
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish Bootcamp Book
2+
3+
on:
4+
push:
5+
branches:
6+
main
7+
paths:
8+
- vector-bootcamp-2025/**
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
name: Build and Deploy Book
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write # To push a branch
17+
pull-requests: write # To create a PR from that branch
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v4
21+
22+
- name: Setup rust
23+
uses: actions-rs/toolchain@v1
24+
with:
25+
toolchain: stable
26+
27+
- name: Install mdbook if needed
28+
run: |
29+
(test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.4" mdbook)
30+
cargo install mdbook-ai-pocket-reference
31+
cargo install mdbook-admonish
32+
33+
- name: Build books
34+
run: |
35+
mdbook build vector-bootcamp-2025
36+
37+
- name: Deploy to github pages
38+
uses: JamesIves/[email protected]
39+
with:
40+
repository-name: VectorInstitute/bootcamp-fl-2025
41+
token: ${{ secrets.PAT_VECTOR_BOOTCAMP_FL_2025 }}
42+
branch: gh-pages # The branch the action should deploy to.
43+
folder: vector-bootcamp-2025/book # The folder the action should deploy.

poetry.lock

Lines changed: 1420 additions & 1435 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

research/picai/data/preprocessing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ def __call__(self, case: Case) -> Case:
293293
case_spacing = scan.GetSpacing()
294294
else:
295295
# check if current scan's metadata is almost equal to the first scan
296+
assert case_direction is not None
297+
assert case_spacing is not None
296298
np.testing.assert_allclose(scan.GetOrigin(), case_origin)
297299
np.testing.assert_allclose(scan.GetDirection(), case_direction)
298300
np.testing.assert_allclose(scan.GetSpacing(), case_spacing)

vector-bootcamp-2025/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
book

vector-bootcamp-2025/README.MD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Welcome to the 2025 Vector FL Bootcamp!
2+
3+
This folder contains several guides to help as you learn the library and work on your federated learning use-cases.
4+
You can view the guides as markdown files in this folder under `vector-bootcamp-2025/src/`. However, these guides are
5+
also rendered together and hosted at the https://vectorinstitute.github.io/bootcamp-fl-2025/.
6+
7+
We look forward to working with you!

vector-bootcamp-2025/book.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[book]
2+
authors = ["David Emerson <[email protected]>"]
3+
language = "en"
4+
multilingual = false
5+
src = "src"
6+
title = "Vector FL Bootcamp 2025"
7+
8+
[preprocessor]
9+
10+
[preprocessor.admonish]
11+
command = "mdbook-admonish"
12+
assets_version = "3.0.3" # do not edit: managed by `mdbook-admonish install`
13+
14+
[preprocessor.ai-pocket-reference]
15+
command = "mdbook-ai-pocket-reference"
16+
17+
[output]
18+
19+
[output.html]
20+
additional-css = ["./mdbook-admonish.css", "./mdbook-ai-pocket-reference.css"]
21+
git-repository-url = "https://github.com/VectorInstitute/FL4Health"
22+
git-repository-icon = "fa-github"

0 commit comments

Comments
 (0)