Skip to content

Fix a few participants.tsv files#446

Merged
effigies merged 2 commits intobids-standard:masterfrom
yarikoptic:bfs-participants
Jun 6, 2024
Merged

Fix a few participants.tsv files#446
effigies merged 2 commits intobids-standard:masterfrom
yarikoptic:bfs-participants

Conversation

@yarikoptic
Copy link
Copy Markdown
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
@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