Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Clarify snake_case+CamelCase in TSV+JSON #442

Merged
merged 7 commits into from
Apr 9, 2020

Conversation

sappelhoff
Copy link
Member

see: bids-standard/bids-starter-kit#130 (comment)

FYI, I recall that for BIDS in JSONs CamelCase is preferred, and in TSV headings snake_case is preferred. Not sure whether this principle is formal and/or documented in a general place, out whether it was just personal communication with @chrisgorgo.

I had the same impression as @robertoostenveld and scanned the spec for any part mentioning that convention that we follow.

I did not find it, so I add it with this PR, RECOMMENDING the use of this convention.

@dorahermes
Copy link
Member

Thank you for clarifying here

@sappelhoff
Copy link
Member Author

@dorahermes I pushed a new commit, I think it's even more clear now.

dorahermes
dorahermes previously approved these changes Apr 6, 2020
Copy link
Member

@dorahermes dorahermes left a comment

Choose a reason for hiding this comment

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

lgtm, thank you!

Copy link
Collaborator

@yarikoptic yarikoptic left a comment

Choose a reason for hiding this comment

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

added suggestion based on linkchecker failure (please verify that correct)

Co-Authored-By: Yaroslav Halchenko <debian@onerussian.com>
@sappelhoff
Copy link
Member Author

Thanks @yarikoptic linkchecker passes now.

Copy link
Collaborator

@franklin-feingold franklin-feingold left a comment

Choose a reason for hiding this comment

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

LGTM thanks @sappelhoff !

@yarikoptic
Copy link
Collaborator

Thanks @yarikoptic linkchecker passes now.

GREAT! Since I started to worry if it all of a sudden became more buggy than useful ;) apparently it is still of benefit! ;)

Copy link
Collaborator

@effigies effigies left a comment

Choose a reason for hiding this comment

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

LGTM. Small suggestion.

src/02-common-principles.md Outdated Show resolved Hide resolved
@franklin-feingold franklin-feingold mentioned this pull request Apr 9, 2020
@sappelhoff sappelhoff merged commit 89ba5c3 into bids-standard:master Apr 9, 2020
@sappelhoff sappelhoff deleted the camelsnake branch April 9, 2020 18:23
@sappelhoff sappelhoff changed the title FIX: Clarify snake_case+CamelCase in TSV+JSON [FIX] Clarify snake_case+CamelCase in TSV+JSON Aug 8, 2020
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.

6 participants