-
Notifications
You must be signed in to change notification settings - Fork 161
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
[MISC] standardize string examples format in tables #739
Conversation
2 other issues I have noticed that make my inner OCD unhappy:
For example Number of EEG channels included in the recording (for example, 128). Should probably be: Number of EEG channels included in the recording (for example, `128`).
Sometimes examples are written:
and other times
If there is no objection I will open a separate issue and tackle this after this PR is solved (reviewing those formating issues will be easier if they are done one at a time). |
sounds good to me, let's get this one in first 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, thanks for this contribution! :)
I left a few comments, but I am eager to merge this once all are resolved and at least one more person reviewed.
src/04-modality-specific-files/04-intracranial-electroencephalography.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Stefan Appelhoff <[email protected]>
…ography.md Co-authored-by: Stefan Appelhoff <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ready to be merged from my side - once tables pipes are fixed 👍
src/04-modality-specific-files/04-intracranial-electroencephalography.md
Outdated
Show resolved
Hide resolved
OK that might actually trigger another PR because last time I tried to follow our own instruction on how to use Need to check that it is not a case of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! I noticed some minor typos in the contributing guidelines, so I've added suggestions to fix them. A few of them are more about my wording preferences, so feel free to take or leave those ones.
Thanks for these Taylor Co-authored-by: Taylor Salo <[email protected]>
Wow! Thanks! I had peppered those around, hadn't I? |
Co-authored-by: Stefan Appelhoff <[email protected]>
And of course there is merge conflict... Sigh... |
OK I am trying to follow our own instructions in the contributing guidelines and it seems Tried with several versions of Node with npm install `cat npm-requirements.txt` # runs fine
cd src/04-modality-specific-files/
remark 01-magnetic-resonance-imaging-data.md -o 01-magnetic-resonance-imaging-data-fixed.md
remark: command not found # OOOPS I suspect I am messing up something in the install, but not sure what. |
I remember having issues with that as well when I was setting up the CI flow: bids-specification/.github/workflows/markdown_style.yml Lines 1 to 18 in 9cb5612
however back then I thought the complications were due to the CI environment and at some point I just wanted it to work and then dropped the issue as soon as it did ... :-/ |
Maybe this is helpful? bids-specification/.circleci/config.yml Lines 89 to 131 in 9cb5612
|
ah yeah that worked so you use "local" install of remark to run this... So:
I suggest:
|
Yes, so in https://github.com/bids-standard/bids-specification/blob/master/CONTRIBUTING.md#fixing-travis-remark-errors we instruct users to do a "local" install of remark, which produces several files as well: also: We are not using travis CI anymore, but have switched to GH-actions Finally, I am not sure anymore why we run remark in BOTH, the gh-actions job, AND in circleci. To conclude: there is enough of a mess to warrant a new PR, I think :-D EDIT: One more, the packages we use for linting are outdated, and one of them raises a security warning 🤣 |
FYI
From this
into this
Will add this to the list of things to mention in the doc and possibly see if we can tweak some things to be ignored by the linter (I think I did this in the past). |
OK another one to throw in the bucket: running remark locally to fix things adds extra changes even the file has no issue. Example of the lines added below. I am thinking of "fixing" those as well (not in this PR):
|
@tsalo let me know if you still have things you'd like me to fix on this. 😺 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR fixes #715
closes #686
update
contributing.md
uniformize json string examples in tables in the specs
I have not touched the
task_events.md
as it "under reconstruction" in PR #697I will take care of the table linting once we are OK on the "content".