Skip to content

Commit

Permalink
ENH: add PET support to niworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoergaard committed Aug 28, 2023
1 parent 87e57b4 commit 3bc413f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions niworkflows/interfaces/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ class _BIDSDataGrabberOutputSpec(TraitedSpec):
roi = OutputMultiObject(desc="output ROI images")
t2w = OutputMultiObject(desc="output T2w images")
flair = OutputMultiObject(desc="output FLAIR images")
pet = OutputMultiObject(desc="output PET images")


class BIDSDataGrabber(SimpleInterface):
Expand Down
1 change: 1 addition & 0 deletions niworkflows/utils/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def collect_data(
"t2w": {"datatype": "anat", "suffix": "T2w", "part": ["mag", None]},
"t1w": {"datatype": "anat", "suffix": "T1w", "part": ["mag", None]},
"roi": {"datatype": "anat", "suffix": "roi"},
"pet": {"suffix": "pet"}
}
bids_filters = bids_filters or {}
for acq, entities in bids_filters.items():
Expand Down

0 comments on commit 3bc413f

Please sign in to comment.