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

[ENH] events.tsv should be sorted by onset values #1732

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

Remi-Gau
Copy link
Collaborator

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.93%. Comparing base (6d13c80) to head (2825e70).
Report is 14 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1732   +/-   ##
=======================================
  Coverage   87.93%   87.93%           
=======================================
  Files          16       16           
  Lines        1351     1351           
=======================================
  Hits         1188     1188           
  Misses        163      163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@effigies effigies self-assigned this Mar 21, 2024
@effigies
Copy link
Collaborator

effigies commented Mar 21, 2024

Will propose schema rule. Bug me if I don't do this soon enough for you.

Comment on lines 37 to 41
selectors:
- suffix == "events"
- extension == ".tsv"
checks:
- sorted(columns.onset) == columns.onset
Copy link
Collaborator

Choose a reason for hiding this comment

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

@rwblair Do you agree?

Copy link
Member

Choose a reason for hiding this comment

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

n/a would be the only thing to mess it up if allowed. Otherwise looks good.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good point. I think it being a warning should make that an annoyance, not a show-stopper. Will add a comment, though.

@Remi-Gau Remi-Gau merged commit 6c52828 into bids-standard:master Apr 4, 2024
26 checks passed
@Remi-Gau Remi-Gau deleted the fix/1691 branch April 11, 2024 11:28
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.

Event onset times can be out of order
4 participants