Commit f0569bc
committed
TST: Download
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:102SynthStrip model for skull stripping1 parent c400563 commit f0569bc
1 file changed
+4
-0
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 | | |
| |||
0 commit comments