Closed BFedder closed 2 years ago
Hello @BFedder! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Base: 89.21% // Head: 89.70% // Increases project coverage by +0.49%
:tada:
Coverage data is based on head (
8e5f566
) compared to base (ccfdc89
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I have updated this now so the units are also returned through panedr, not just pyedr
Having looked at the code again to add an example for the readme, I have realised that having the energy dict as part of the return value for edr_to_dict
and edr_to_df
is problematic, because people would then have a tuple at hand when they might not expect it from the function name. I have instead now written a new function, get_unit_dictionary
, that returns the unit dictionary alone.
@IAlibay do you have any blocking concerns here? Otherwise I will merge so we can progress on https://github.com/MDAnalysis/mdanalysis/pull/3749
I'll re-review later today, MDA release comes as a priority.
@IAlibay any outstanding comments or can I merge? :)
I'll review in a few
Are the settings on this repo that new commits dismiss reviews automatically? Is this desired? @hmacdope @IAlibay @jbarnoud @BFedder
Personally, this looks like generating too much work. I am unlikely to go back to a PR if I approved it because this means (to me at least) that all the things I cared about had been addressed. I suggest to change the settings.
I don't dismiss the reviews on purpose at least (and I also find that "dismissed stale reviews" sounds a bit harsh), so I hope it happens automatically rather than by some mistake I might make. I agree with you - this should not happen automatically I think. If there are big changes still, a new review could always be requested.
@orbeckst that might be me just using default settings when I set up branch protection. This is fixed now. I assume by this that we're ok to merge?
Following the discussion on units on PR 3749, I have changed pyedr here so it returns a dictionary of the units it reads from the EDR file as well.