-
Notifications
You must be signed in to change notification settings - Fork 667
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
Deprecate nucleicacids pair distances results in favour of results.pair_distances [Issue 3744] #3958
Conversation
@MDAnalysis/coredevs - last one on the todo list for 2.4.0 |
Codecov ReportBase: 94.41% // Head: 94.44% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #3958 +/- ##
===========================================
+ Coverage 94.41% 94.44% +0.03%
===========================================
Files 195 195
Lines 25423 25438 +15
Branches 3526 3527 +1
===========================================
+ Hits 24003 24026 +23
+ Misses 1376 1368 -8
Partials 44 44
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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, thanks for the hack
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.
sorry, times should not be in results, I think
There's also low test coverage but I let this go because we remove it soon.
Always good to ask for more tests, turns out there were 3 cases I had overlooked! |
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, thanks for the updates
self.results['times'] = np.array(self._times) | ||
for i in range(self._n_sel): | ||
self.results[i] = np.array(self._res_dict[i]) | ||
self.results['times'] = np.array(self.times) |
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.
To be removed in 2.5.0
Fixes #3744
A bit of a hack on Results, but thankfully we were only deprecating the one thing.
Changes made in this Pull Request:
results
is deprecated in favor ofresults.pair_distances
. To be removed in v2.5.0PR Checklist