Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Skip observables contained in particle groups #4615
Skip observables contained in particle groups #4615
Changes from 21 commits
f9c6ca1
078d168
c5d2db2
bbf4f20
bccda1c
5376223
b22869f
e9b4353
e86e475
7d5eb1c
19035f5
87b23d7
1cfedf4
de7e7ba
757f850
1d1b3df
f52b644
3ae0f26
225a7aa
6faa14d
e074e6b
86749e3
2c1a4e8
66b9ecb
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 692 in package/MDAnalysis/coordinates/H5MD.py
Codecov / codecov/patch
package/MDAnalysis/coordinates/H5MD.py#L691-L692
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.
If it's not legal, shouldn't we be failing? Or is the reasoning that we don't overly care about observables as opposed to x/v/f?
Perhaps add a comment explaining your rationale.
Also, given that this is not tested, add a
#pragma: nocover
(or whatever you have to do to show that this code block isn't covered). It will tell anyone else reading the code that it's un-tested.Tested would be better, of course, but if we don't care about observables then I don't insist on a test.
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'd be in favor of raising an Error here as well. Shall I create an additional
h5md
file which contains wrong data to test against this?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.
That would be ideal!