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

Prevent bids values with leading 0s in tests #427

Merged
merged 1 commit into from
May 9, 2024

Conversation

pvandyken
Copy link
Contributor

When used with run, the leading 0 gets stripped because run is converted into an int. This breaks tests that instantiate a dataset on the filesystem and re-parse it using generate_inputs. Easiest solution is to just to prevent these values entirely

@pvandyken pvandyken added the bug Something isn't working label May 9, 2024
When used with `run`, the leading 0 gets stripped because run is
converted into an int. This breaks tests that instantiate a datset on
the filesystem and re-parse it using generate_inputs.

Adds a `type` field to run in `bids_tags.json` and uses this to filter
integers with leading 0s in the zip_lists strategy
Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.28%. Comparing base (156f58f) to head (9f818bb).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #427      +/-   ##
==========================================
+ Coverage   94.27%   94.28%   +0.01%     
==========================================
  Files          55       55              
  Lines        2183     2188       +5     
==========================================
+ Hits         2058     2063       +5     
  Misses        125      125              

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

@pvandyken pvandyken merged commit 510718a into khanlab:main May 9, 2024
37 checks passed
@pvandyken pvandyken deleted the fix/bids-value branch May 9, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant