-
Notifications
You must be signed in to change notification settings - Fork 58
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
Use DIPY version of patch2self #902
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #902 +/- ##
==========================================
+ Coverage 44.22% 45.80% +1.57%
==========================================
Files 66 65 -1
Lines 9835 9718 -117
Branches 1096 1062 -34
==========================================
+ Hits 4350 4451 +101
+ Misses 5262 5040 -222
- Partials 223 227 +4 ☔ View full report in Codecov by Sentry. |
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.
Great solution! I think we might be running some redundant testing now, but that's better than the alternative
@@ -62,6 +67,7 @@ def _calculate_nmse(self, original_nii, corrected_nii): | |||
pd.DataFrame( | |||
{title + '_pre': pres, title + '_post': posts, title + '_change': differences} | |||
).to_csv(output_file, index=False) | |||
self._nmse_text = output_file |
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.
This is really clever!
Closes #893.
Changes proposed in this pull request
patch2self
and use version imported from dipy.