Skip to content

Commit

Permalink
ENH: Store bold realignment results in reachable path
Browse files Browse the repository at this point in the history
Store bold realignment results in a folder that actually exists.

Fixes:
```
 FAILED docs/notebooks/bold_realignment.ipynb::bold_realignment.ipynb
 - PermissionError: [Errno 13] Permission denied: '/data/derivatives'
```

raised for example in:
https://github.com/nipreps/nifreeze/actions/runs/12847776534/job/35824459079?pr=35#step:12:1684
  • Loading branch information
jhlegarreta committed Jan 18, 2025
1 parent d6fa5aa commit 13e5000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notebooks/bold_realignment.ipynb
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@
"WORKDIR = Path.home() / \"tmp\" / \"nifreezedev\" / \"ismrm25\"\n",
"WORKDIR.mkdir(parents=True, exist_ok=True)\n",
"\n",
"OUTPUT_DIR = Path(\"/data/derivatives\") / \"nifreeze-ismrm25-exp2\"\n",
"OUTPUT_DIR = Path.home() / \"tmp\" / \"nifreezedev\" / \"ismrm25\" / \"nifreeze-ismrm25-exp2\"\n",
"OUTPUT_DIR.mkdir(exist_ok=True, parents=True)"
]
},

0 comments on commit 13e5000

Please sign in to comment.