Skip to content

Commit

Permalink
FIX: Remove bad metadata input from ds_goodvoxels_mask (#3037)
Browse files Browse the repository at this point in the history
Currently we're creating the following `.json` file for
`goodvoxels_mask`:

```json
{
  "keys": [
    "fsaverage5",
    "fsnative"
  ]
}
```

This is not serving any useful purpose and needs to be deleted. Looking
up masks, we can put in some recommended metadata, such as the type of
mask it is. I don't want to figure out sources right now.

Closes #3035.
  • Loading branch information
effigies committed Jun 14, 2023
2 parents aee865d + 1d7eaca commit 73ecb86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fmriprep/workflows/bold/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ def init_func_derivatives_wf(
space='T1w',
desc='goodvoxels',
suffix='mask',
Type='ROI', # Metadata
compress=True,
dismiss_entities=("echo",),
),
Expand All @@ -764,7 +765,7 @@ def init_func_derivatives_wf(
(inputnode, ds_goodvoxels_mask, [
('source_file', 'source_file'),
('goodvoxels_mask', 'in_file'),
('surf_refs', 'keys')]),
]),
])
# fmt:on

Expand Down

0 comments on commit 73ecb86

Please sign in to comment.