-
Notifications
You must be signed in to change notification settings - Fork 60
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
Cleaning reconst scripts part1 #908
Cleaning reconst scripts part1 #908
Conversation
Hello @EmmaRenauld, Thank you for updating !
Comment last updated at 2024-02-22 22:48:19 UTC |
5197255
to
8db132a
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #908 +/- ##
==========================================
+ Coverage 68.12% 68.53% +0.41%
==========================================
Files 386 388 +2
Lines 20678 20924 +246
Branches 3160 3219 +59
==========================================
+ Hits 14087 14341 +254
+ Misses 5326 5293 -33
- Partials 1265 1290 +25
|
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.
a quick fix and GTG !
I created again a new function in operations. I also added a mask in the test of dti_metrics to have more coverage of residuals things. Please see new line # 183. There were a lot of questions there. Can we delete that? |
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.
GTG
Quick description
Encapsulating some parts of the main() in a few scripts in the column "reconst"
- encapsulated the residuals
- encapsulated the smooth_to_fwhm
- changed the residuals computation: removed the norm. Discussed with Maxime.
- added many del variable, like is done in dti_metrics
- Added the residual computation in the script testing. It created a fail at line
data_p = dkifit.predict(gtab, S0)
. With the way dipy does thing, we needed to send the keywords,data_p = dkifit.predict(gtab=gtab, S0=S0)
Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
...
Checklist