Skip to content

Fixup and enhance invocation of run_tests.sh#434

Merged
rwblair merged 1 commit intobids-standard:masterfrom
yarikoptic:bfs
Apr 19, 2024
Merged

Fixup and enhance invocation of run_tests.sh#434
rwblair merged 1 commit intobids-standard:masterfrom
yarikoptic:bfs

Conversation

@yarikoptic
Copy link
Copy Markdown
Contributor

ATM it would complain that rc is not legit command due to all those spaces. Because no set -e used it just continues.

Also made it executable and adjusted shebang to be universaly working. There should be no need to invoke directly via bash -- shebang would do that

Script likely worked correctly anyways since there is explicit exit $rc so if $rc remained undefined and no failed validator runs, it was just exit - clean exit?

ATM it would complain that rc is not legit command due to all those spaces.
Because no set -e used it just continues.

Also made it executable and adjusted shebang to be universaly working.
There should be no need to invoke directly via bash -- shebang would do that
@yarikoptic yarikoptic requested review from Remi-Gau and effigies April 13, 2024 15:02
Copy link
Copy Markdown
Contributor

@Remi-Gau Remi-Gau left a comment

Choose a reason for hiding this comment

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

to the extend that I understand, I approve

@yarikoptic
Copy link
Copy Markdown
Contributor Author

So the honors would go to @effigies for the last look/click of the green button! ;)

| [ds000117](https://github.com/bids-standard/bids-examples/tree/master/ds000117) | A multi-subject, multi-modal human neuroimaging dataset of 19 subjects on a MEG visual task | anat, beh, dwi, fmap, func, meg | T1w, beh, bold, channels, coordsystem, dwi, events, headshape, magnitude1, magnitude2, meg, phasediff, scans | [link](https://openneuro.org/datasets/ds000117/) | [@RikHenson](https://github.com/RikHenson) |
| [eeg_ds003645s_hed_demo](https://github.com/bids-standard/bids-examples/tree/master/eeg_ds003645s_hed_demo) | Shows usage of Hierarchical Event Descriptor (HED) in .tsv files | eeg, beh | channels, eeg, events, participants, scans | [link](https://openneuro.org/datasets/ds003645) | [@VisLab](https://github.com/VisLab) |
| [synthetic](https://github.com/bids-standard/bids-examples/tree/master/synthetic) | A synthetic dataset | anat, beh, func | T1w, beh, bold, events, physio, scans, sessions, stim | n/a | [@effigies](https://github.com/effigies) | No newline at end of file
| [synthetic](https://github.com/bids-standard/bids-examples/tree/master/synthetic) | A synthetic dataset | anat, beh, func | T1w, beh, bold, events, physio, scans, sessions, stim | n/a | [@effigies](https://github.com/effigies) |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe this table is generated automatically. If it will get reverted with the next regeneration, then it would be better to fix up the script.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yes that's true

though I cannot see what actually got changed: I suspect a whitespace so I don't think it matters much

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

probably "no newline" at the end of file?

def add_tables(df: pd.DataFrame, output_file: Path) -> None:

And it got auto-inserted by the editor the last person touching this file was using?

Copy link
Copy Markdown
Contributor

@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.

Otherwise this is fine. @Remi-Gau I defer to you on the README.md.

@rwblair rwblair merged commit f60cd97 into bids-standard:master Apr 19, 2024
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