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] properly infer slice_time_ref from BIDS derivatives #3605
Conversation
👋 @Remi-Gau Thanks for creating a PR! Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft. Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.
For new features:
For bug fixes:
We will review it as quick as possible, feel free to ping us with questions if needed. |
Codecov Report
@@ Coverage Diff @@
## main #3605 +/- ##
==========================================
+ Coverage 91.32% 91.41% +0.08%
==========================================
Files 133 133
Lines 15475 15540 +65
Branches 3208 3228 +20
==========================================
+ Hits 14133 14206 +73
+ Misses 789 784 -5
+ Partials 553 550 -3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Co-authored-by: Taylor Salo <tsalo90@gmail.com>
@@ -1122,6 +1164,7 @@ def _get_processed_imgs( | |||
supported_filters=_bids_entities()["raw"] | |||
+ _bids_entities()["derivatives"], | |||
extra_filter=img_filters, | |||
verbose=verbose, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am having to pass this verbose parameter around a bit too much to be able to control whether warnings, messages should be printed...
This should probably be handled better by implementing a logger in another PR.
yup your comment just prompted me to actually try to map most cases to get a better idea because I was not even clear about it myself. |
Todo
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there ! Thx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thx @Remi-Gau !
Co-authored-by: Yasmin <63292494+ymzayek@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx.
@Remi-Gau can you rebase on main and resolve the conflict? Then this can be merged. |
rebased + green CI = merging |
Closes #3299
Changes proposed in this pull request:
RepetitionTime
from fetching metadata related to slice timingt_r
andslice_time_ref
validation for first level models