Commit 1e54125
committed
TST: Do not remove fMRI notebook from list of discovered notebooks
Do not remove fMRI notebook from list of discovered notebooks: this will
allow running the notebook at the time scheduled by the `notebooks.yml`
GHA workflow file.
Download `SynthStrip` model for skull stripping. Used by the fMRI BOLD
realignment notebook.
Fixes:
```
FileNotFoundError Traceback (most recent call last)
Cell In[4], line 19
14 if not bmask_path.exists():
15 bmsk_results = SynthStrip(
16 in_file=str(avg_path),
17 use_gpu=True,
18 ).run(cwd=str(WORKDIR))
---> 19 copy(bmsk_results.outputs.out_mask,bmask_path)
(...)
FileNotFoundError: [Errno 2] No such file or directory:
'/home/runner/tmp/nifreezedev/ismrm25/sub-01_task-mixedgamblestask_run-03_boldref_desc-brain_mask.nii.gz'
```
raised for example at:
https://github.com/jhlegarreta/nifreeze/actions/runs/14897027210/job/41841440531#step:11:102
Modify the call to the `SynthStrip` workflow in the notebook so that the
model is loaded from a file that is provided as an argument.
Install AFNI in the GHA workflow.1 parent 2ca25ff commit 1e54125
File tree
3 files changed
+24
-3
lines changed- .github/workflows
- docs/notebooks
- tools
3 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
44 | 63 | | |
45 | 64 | | |
46 | 65 | | |
47 | 66 | | |
48 | 67 | | |
49 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
50 | 73 | | |
51 | 74 | | |
52 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
0 commit comments