From 89338c2898942f8b33104c91f78a5ce4f4171295 Mon Sep 17 00:00:00 2001 From: Stefan Appelhoff Date: Wed, 25 Oct 2023 13:21:48 +0200 Subject: [PATCH] fix tiny_bids json error --- .../tests/data/tiny_bids/code/make_tiny_bids_dataset.py | 7 +++---- mne_bids/tests/data/tiny_bids/sub-01/sub-01_sessions.json | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/mne_bids/tests/data/tiny_bids/code/make_tiny_bids_dataset.py b/mne_bids/tests/data/tiny_bids/code/make_tiny_bids_dataset.py index 084f8c3ff..f41e666e5 100644 --- a/mne_bids/tests/data/tiny_bids/code/make_tiny_bids_dataset.py +++ b/mne_bids/tests/data/tiny_bids/code/make_tiny_bids_dataset.py @@ -130,12 +130,11 @@ sessions_json_bp = sessions_tsv_bp.copy().update(extension=".json") sessions_json_content = """{ "acq_time":{ - "Description":"date of the first acquistion of the session", - "Units":"date", - "TermURL":"https://tools.ietf.org/html/rfc3339#section-5.6" + "Description": "date of the first acquistion of the session", + "TermURL": "https://tools.ietf.org/html/rfc3339#section-5.6" }, "pathology":{ - "Description":"Disease state of the subject when applicable", + "Description": "Disease state of the subject when applicable" } } """ diff --git a/mne_bids/tests/data/tiny_bids/sub-01/sub-01_sessions.json b/mne_bids/tests/data/tiny_bids/sub-01/sub-01_sessions.json index 7e2768992..9a37d6dc0 100644 --- a/mne_bids/tests/data/tiny_bids/sub-01/sub-01_sessions.json +++ b/mne_bids/tests/data/tiny_bids/sub-01/sub-01_sessions.json @@ -1,10 +1,9 @@ { "acq_time":{ - "Description":"date of the first acquistion of the session", - "Units":"date", - "TermURL":"https://tools.ietf.org/html/rfc3339#section-5.6" + "Description": "date of the first acquistion of the session", + "TermURL": "https://tools.ietf.org/html/rfc3339#section-5.6" }, "pathology":{ - "Description":"Disease state of the subject when applicable", + "Description": "Disease state of the subject when applicable" } }