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

deno validator: complains about EVENT_ONSET_ORDER but AFAIK they are sorted! #2006

Open
yarikoptic opened this issue Jun 21, 2024 · 0 comments
Labels

Comments

@yarikoptic
Copy link
Contributor

Got

        [WARNING] The onset column in events.tsv files should be sorted.
 (EVENT_ONSET_ORDER)

                ./sub-0001/ses-02/func/sub-0001_ses-02_task-narratives_acq-mb8_run-01_events.tsv
                        Evidence: schema.rules.rules.checks.events.SortedOnsets
...
                ./sub-0131/ses-04/func/sub-0131_ses-04_task-social_acq-mb8_run-02_events.tsv
                        Evidence: schema.rules.rules.checks.events.SortedOnsets
...
                ./sub-0147/ses-04/func/sub-0147_ses-04_task-fractional_acq-mb8_run-01_desc-posner_events.tsv
                        Evidence: schema.rules.rules.checks.events.SortedOnsets

        Please visit https://neurostars.org/search?q=EVENT_ONSET_ORDER for existing conversations about this issue.

but if I look into those files -- look sorted to me:

(deno) yoh@typhon:/mnt/DATA/data/yoh/1076_spacetop$ diff -Naur ./sub-0131/ses-04/func/sub-0131_ses-04_task-social_acq-mb8_run-02_events.tsv <(sort -n < ./sub-0131/ses-04/func/sub-0131_ses-04_task-social_acq-mb8_run-02_events.tsv)
(deno) yoh@typhon:/mnt/DATA/data/yoh/1076_spacetop$ 

full file is http:https://www.oneukrainian.com/tmp/sub-0131_ses-04_task-social_acq-mb8_run-02_events.tsv (we are yet to upload to openneuro)

@effigies effigies added the schema label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants