Commit e894222
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.1 parent 2ca25ff commit e894222
File tree
3 files changed
+5
-3
lines changed- .github/workflows
- docs/notebooks
- tools
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
| 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