From 02f0480f36f19c389ca35d5f6cfbab8be0ec6d0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com>
Date: Thu, 16 Feb 2023 13:10:13 +0100
Subject: [PATCH] physio

---
 src/bids-cfood/cfood.yml | 6 ++++--
 src/bids-cfood/model.yml | 6 ++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/bids-cfood/cfood.yml b/src/bids-cfood/cfood.yml
index 417f118..b087849 100644
--- a/src/bids-cfood/cfood.yml
+++ b/src/bids-cfood/cfood.yml
@@ -349,8 +349,10 @@ project_level:
                         parent: "SingleBandReferenceImage"
                       - suffix: stim
                         parent: "ContinuousRecording"
-                      - suffix: "((?!events|bold|cbv|sbref|stim)((?!_).)*?)"
-                        parent: "RawData"
+                      - suffix: phase
+                        parent: "ContinuousRecording"
+                      - suffix: "physio"
+                        parent: "PhysiologicalRecording"
 
             anat: &anat_subtree
               type: BIDSANATDirectory
diff --git a/src/bids-cfood/model.yml b/src/bids-cfood/model.yml
index f42da99..bb35eca 100644
--- a/src/bids-cfood/model.yml
+++ b/src/bids-cfood/model.yml
@@ -60,6 +60,7 @@ FunctionalImaging:
       FunctionalImagingDataFile:
       Acquisition_label:
       RunLabel:
+      PhysiologicalRecording:
       SingleBandReferenceImage:
           description: Single-band reference for one or more multi-band dwi images. https://bids-specification.readthedocs.io/en/stable/glossary.html#sbref-suffixes
           inherit_from_suggested:
@@ -74,6 +75,10 @@ FunctionalImaging:
               - FunctionalImagingDataFile
               - MagnetoencephalographyDataFile
               - ElectroencephalographyDataFile
+      PhaseDataFile:
+          description: DEPRECATED. Phase information associated with magnitude information stored in BOLD contrast. This suffix should be replaced by the part-phase in conjunction with the bold suffix. https://bids-specification.readthedocs.io/en/stable/glossary.html#phase-suffixes
+          inherit_from_suggested:
+              - FunctionalImagingDataFile
       BloodOxygenLevelDependendContrast:
           description: Blood-Oxygen-Level Dependent contrast (specialized T2* weighting). https://bids-specification.readthedocs.io/en/stable/glossary.html#bold-suffixes
           inherit_from_suggested:
@@ -281,6 +286,7 @@ Magnetoencephalography:
             inherit_from_suggested:
                 - MagnetoencephalographyDataFile
                 - ElectroencephalographyDataFile
+                - FunctionalImagingDataFile
         MagnetoencephalographyDataFile:
             description:  Magnetoencephalography https://bids-specification.readthedocs.io/en/stable/glossary.html#meg-datatypes
             recommended_properties:
-- 
GitLab