Skip to content

Merge remote-tracking branch 'guiomar/bep008_meg' into bep008_meg#58

Merged
chrisgorgo merged 9 commits intobids-standard:bep008_megfrom
guiomar:bep008_meg
Mar 12, 2018
Merged

Merge remote-tracking branch 'guiomar/bep008_meg' into bep008_meg#58
chrisgorgo merged 9 commits intobids-standard:bep008_megfrom
guiomar:bep008_meg

Conversation

@guiomar
Copy link
Copy Markdown
Contributor

@guiomar guiomar commented Mar 1, 2018

No description provided.

@guiomar guiomar changed the title fid.json --> coordsystem.json Merge remote-tracking branch 'guiomar/bep008_meg' into bep008_meg Mar 1, 2018
@jasmainak
Copy link
Copy Markdown
Collaborator

@guiomar you have some problem with your commits ...

maybe you can cherry-pick your last 3 commits. If you don't manage by tomorrow, I'll try to help :)

guiomar added 5 commits March 5, 2018 16:37
fid.json --> coordsystem.json
…he name

Coodsystem, Headshape and Photo, files don't need to include *_task-label in the name. They are session specific
@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 5, 2018

Hi @jasmainak !

These are the things I see in the validator for ds00246 and ds00247:

  1. CoilsCoordinates, etc have been renamed by HeadCoildCoordinates, etc.
    Check out the merged specs in the general bids document.
    (I think this is not updated into the validator yet)

  2. Also especial attention should be given to the emptyroom subject. It won't have the same number of files as the other subjects.

  3. The field IntededFor also seems to complain, maybe because of the format?

@jasmainak
Copy link
Copy Markdown
Collaborator

okay, I made some updates to the validator for 1. I notice these issues:

			JSON file is not formatted according the schema.
			Evidence:  should have required property 'FiducialsDescription'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'TaskName'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'SamplingFrequency'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'DewarPosition'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'DigitizedLandmarks'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'DigitizedHeadPoints'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'Manufacturer'
		./sub-13/ses-meg/sub-13_ses-meg_task-facerecognition_proc-tsss_meg.json
			JSON file is not formatted according the schema.
			Evidence:  should have required property 'PowerLineFrequency'

where do you see 3.? can you point me to the file?

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 6, 2018

Thanks!!

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 6, 2018

Hi @jasmainak !

New things:

  1. Should CoilFrequency should be changed to HeadCoildFrequency to match the other fields? --> In this field, there could be times when there's not just a number but a vector of numbers, e.g. coils working at 3 different frequencies (which is the case in our ctf system).

  2. When it says a file: should NOT have additional properties
    Could we get the corresponding fields it is referring to?

Regarding the point before, you can check the warnings in ds00246, they are like this:

view 1 warning in 47 files
Warning: 1
Not all subjects contain the same files. Each subject should contain the same number of files with the same naming unless some files are known to be missing. 47 files
sub-0001_task-noise_run-01_channels.tsv NaN KB |
Location:
/sub-0001/meg/sub-0001_task-noise_run-01_channels.tsv
Reason:
This file is missing for subject sub-0001, but is present for most other subjects.

Probably is trying to find the tasks present in the emptyroom subject, in the other real subjects, but this will never be the case. So the number of files and tasks in this case will be different.

@jasmainak
Copy link
Copy Markdown
Collaborator

Should CoilFrequency should be changed to HeadCoildFrequency to match the other fields?

okay, I saw your comment on the BIDS draft to update this. I updated the validator for this, but I would say that the validator for now should be made to work on version 1.0, otherwise we will never converge :-)

--> In this field, there could be times when there's not just a number but a vector of numbers, e.g. coils working at 3 different frequencies (which is the case in our ctf system).

okay fixed!

When it says a file: should NOT have additional properties
Could we get the corresponding fields it is referring to?

umm ... I don't think so. The problem is that the validator uses a javascript library called ajv which recommends against doing so. See the FAQ here: https://epoberezkin.github.io/ajv/faq.html. I am not sure I understand fully though :)

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 7, 2018

Ok, thanks!! Yes, no more changes to the specs :)

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 7, 2018

Ok, I understand the javascript library, but then it's difficult to track. I'll try to add fields progressively until I find the not included ones...

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 9, 2018

@jasmainak any clue of the "should NOT have additional properties" errors we are getting with these ds00246 and ds00247 datasets? I think we are really following the specs. Can you see anything?

@jasmainak
Copy link
Copy Markdown
Collaborator

okay let me look into it :-)

@jasmainak
Copy link
Copy Markdown
Collaborator

okay ds00246 was my fault :) we were missing a field ManufacturersModelName in the schema. As for ds00247, I noticed that there is still a field called CoilFrequency. It should be HeadCoilFrequency now. Any other dataset I can look into?

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 12, 2018

Thanks! updated :)

@jasmainak
Copy link
Copy Markdown
Collaborator

ready to merge? It passes the validator for me

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 12, 2018

Yes, for me too!

Only the warnings for empyi nii etc, but no errors :)

@jasmainak
Copy link
Copy Markdown
Collaborator

let's merge then :) 🍻

@guiomar
Copy link
Copy Markdown
Contributor Author

guiomar commented Mar 12, 2018

Yes!! Go ahead! Thanks!! :D

@chrisgorgo chrisgorgo merged commit 2543278 into bids-standard:bep008_meg Mar 12, 2018
sappelhoff pushed a commit that referenced this pull request May 12, 2019
Merge remote-tracking branch 'guiomar/bep008_meg' into bep008_meg

Former-commit-id: 2543278
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.

3 participants