Skip to content

MEG examples#45

Merged
jasmainak merged 59 commits intomasterfrom
bep008_meg
Mar 26, 2018
Merged

MEG examples#45
jasmainak merged 59 commits intomasterfrom
bep008_meg

Conversation

@chrisgorgo
Copy link
Copy Markdown
Contributor

@robertoostenveld @jasmainak let me know if everything is up to date.

robertoostenveld and others added 30 commits July 12, 2017 14:25
added example dataset with MEG+EEG+fMRI
include BrainStorm sample auditory dataset in BIDS-MEG format
include example BIDS dataset from MNE
sub-16/ses-mri/anat/sub-16_ses-mri_run-2_echo-5_FLASH.nii.gz
sub-16/ses-mri/anat/sub-16_ses-mri_run-2_echo-6_FLASH.nii.gz
sub-16/ses-mri/anat/sub-16_ses-mri_run-2_echo-7_FLASH.nii.gz
run-*_echo-*_FLASH.json
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisfilo I am not 100% sure but it seems to me that number ranges like [0-9] is not working here. So, I used the more permissive * for now instead of [1-16] or so

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure!

@jasmainak
Copy link
Copy Markdown
Collaborator

@chrisfilo how do we go about merging this? Travis will fail of course because the validator is not aware of MEG specifications. Do we test both the validator and the datasets locally and then merge them simultaneously?

@chrisgorgo
Copy link
Copy Markdown
Contributor Author

If you think it's ready please go ahead and merge

@jasmainak
Copy link
Copy Markdown
Collaborator

@chrisfilo okay with a squash and merge? we might have many intermediate PRs where big files were added and removed

@jasmainak
Copy link
Copy Markdown
Collaborator

@guiomar I still see two errors, arfff. Do you see this too?

	1: Subject label in the filename doesn't match with the path of the file. File seems to be saved in incorrect subject directory. (code: 64 - SUBJECT_LABEL_IN_FILENAME_DOESNOT_MATCH_DIRECTORY)
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_proc-sss_meg.json
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_proc-sss_meg.json is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_log.txt is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_meg.fif.gz is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_log.txt is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_meg.fif.gz is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_log.txt is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_meg.fif.gz is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_log.txt is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_meg.fif.gz is saved in incorrect subject directory as per sub-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-05_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-05_proc-sss_log.txt is saved in incorrect subject directory as per sub-id in filename.
		... and 182 more files having this issue (Use --verbose to see them all).

	2: Session label in the filename doesn't match with the path of the file. File seems to be saved in incorrect session directory. (code: 65 - SESSION_LABEL_IN_FILENAME_DOESNOT_MATCH_DIRECTORY)
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_proc-sss_meg.json
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_proc-sss_meg.json is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_log.txt is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-01_proc-sss_meg.fif.gz is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_log.txt is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-02_proc-sss_meg.fif.gz is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_log.txt is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-03_proc-sss_meg.fif.gz is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_log.txt is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_meg.fif.gz
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-04_proc-sss_meg.fif.gz is saved in incorrect session directory as per ses-id in filename.
		./derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-05_proc-sss_log.txt
			Evidence: File: /derivatives/meg_derivatives/sub-01/ses-meg/meg/sub-01_ses-meg_task-facerecognition_run-05_proc-sss_log.txt is saved in incorrect session directory as per ses-id in filename.
		... and 182 more files having this issue (Use --verbose to see them all).

@guiomar
Copy link
Copy Markdown
Contributor

guiomar commented Mar 26, 2018

@jasmainak Is it in ds000117?

Using your online meg-bids validator, on my local copy of the ds000117 dataset, I only see one error that can be ignored, because it is related to having empty niis.

@jasmainak
Copy link
Copy Markdown
Collaborator

I don't know what's going on ... :-\

give me a moment to figure it out

@jasmainak
Copy link
Copy Markdown
Collaborator

okay errors fixed

@jasmainak jasmainak merged commit 4647512 into master Mar 26, 2018
@jasmainak
Copy link
Copy Markdown
Collaborator

Merged, finally! 🍻

Thanks everyone who contributed

@sappelhoff sappelhoff deleted the bep008_meg branch December 5, 2018 08:01
sappelhoff pushed a commit that referenced this pull request May 12, 2019
* added example dataset with MEG+EEG+fMRI from https://github.com/jbwexler/ds000117_R1.0.0_empty

* included BrainStorm sample auditory dataset in BIDS-MEG format

* added example BIDS dataset from MNE

* corrected meg events onsets

* replaced empty cells w/ 'n/a' in tsv files

* updated channels.tsv files

* fixed bids-validator stimuli error

* updated publications in README

* renamed mef files to comply with BIDS

* deleted _trans.fif files

* changed proc-sss to proc-tsss in filenames

* replaced tsss logs and added new derivatives

* FIX - removed gsheet participants table, this addresses #26

* added ds000117/task-facerecognition_proc-tsss_meg.json and softwarefilters

* moved _proc-tsss_meg.fif to derivatives

* fixed derivatives filenames

* added onset and duration columns to beh events

* added MEGCoordinatesUnits and LandmarkCoordinateUnits to _fid.json

* Fixes after running BIDS validator

* updated _fid.json files

* added .pos files

* added commas to sub-01_ses-meg_task-facerecognition_fid.json

* changed AnatomicalMRICoordinateSystem value to NIfTi

* made several changes to _meg.json files

* Fixes

* removed OnlineFilters from _meg.json

* DOC - added links to full datasets, see #16

* update CHANGES and dataset_description.json

* updated brainstorm_sample_auditory to the latest version from the google drive, as discussed in #38

* passed the json files through https://jsonlint.com to check (all OK) and to format them in a human readable way

* updated EpochLength from null to 0

* renamed the brainstorm_sample_auditory and mne_sample_data to be consistent with their representation on openfmri.org, see #38

* added ds000247, modified ds000246

* fid.json --> coordsystem.json

fid.json --> coordsystem.json

* *_coordsystem.json are session specific

* Coodsystem, Headshape, Photo, don't need to include *_task-label in the name

Coodsystem, Headshape and Photo, files don't need to include *_task-label in the name. They are session specific

* Remove MRI coordinates

* Head coils.

* update ds00246 and ds00247

* channels.tsv replace 0 by n/a

* remove anatomical coordinates

* HeadCoildFrequency

* update ds000117 from Rik

* updating

* ENH simpler bidsignore

* FIX ds000248 issue with maxfilter

* fix ds000248

* replace Neuromag/Elekta by Elekta/Neuromag

* Remove derivatives folder


Former-commit-id: 4647512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants