Skip to content

Commit

Permalink
[FIX] add missing processing entity for MEG physio files and render p…
Browse files Browse the repository at this point in the history
…hysio filename templates for fNIRS (#1355)

* fix physio meg by adding missing processing entity

* render physio files  name templates for nirs

* add stim for fnirs
  • Loading branch information
Remi-Gau authored Nov 16, 2022
1 parent 9231875 commit 8c8dd94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modality-specific-files/near-infrared-spectroscopy.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ have been formatted using this specification and can be used for practical guida
{{ MACROS___make_filename_template(
"raw",
datatypes=["nirs"],
suffixes=["nirs", "events", "channels", "optodes", "coordsystem"])
suffixes=["nirs", "events", "channels", "optodes", "coordsystem", "physio", "stim"])
}}

Only the *Shared Near Infrared Spectroscopy Format* ([SNIRF](https://github.com/fNIRS/snirf))
Expand Down
9 changes: 8 additions & 1 deletion src/schema/rules/files/raw/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ timeseries:
- beh
- eeg
- ieeg
- meg
- nirs
entities:
subject: required
Expand Down Expand Up @@ -83,6 +82,14 @@ timeseries__func:
$ref: rules.files.raw.task.timeseries__mri.entities
ceagent: optional

timeseries__meg:
$ref: rules.files.raw.task.timeseries
datatypes:
- meg
entities:
$ref: rules.files.raw.task.timeseries.entities
processing: optional

timeseries__pet:
$ref: rules.files.raw.task.timeseries
datatypes:
Expand Down

0 comments on commit 8c8dd94

Please sign in to comment.