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 a few participants.tsv files #446

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

yarikoptic
Copy link
Contributor

A handy tool I discovered, to e.g. find all values which are not numeric

$ for f in */participants.tsv; do echo $f; mlr --itsv --otsv cut -f age $f; done

to just dump all the file names and their values for age if any

❯ mlr --itsv --otsv filter 'string($age) =~ "[^0-9]"' cut -f age ds000117/participants.tsv
participant_id	age	sex	first_ses
sub-emptyroom	n/a	n/a	n/a

to dump those which are not numeric in a particular file

XX is not a number.  assuming that it was missing, making explicit n/a
@effigies effigies merged commit 12ee355 into bids-standard:master Jun 6, 2024
7 checks passed
@yarikoptic yarikoptic deleted the bfs-participants branch June 6, 2024 17:34
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.

2 participants