Conversation
hmacdope
left a comment
There was a problem hiding this comment.
Thanks for the contribution @jaclark5! It's looking great so far. See my comments. We will also need some tests with a small imageflag containing testfile. :)
It may also be better to split the imageflag and forces+velocities stuff into separate PRs to avoid this one becoming super crowded but up to you at the end of the day.
hmacdope
left a comment
There was a problem hiding this comment.
Some more quick comments from a read over.
Co-authored-by: Hugo MacDermott-Opeskin <hugomacdermott@gmail.com>
Codecov ReportBase: 94.35% // Head: 94.35% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #3844 +/- ##
========================================
Coverage 94.35% 94.35%
========================================
Files 194 194
Lines 25031 25062 +31
Branches 3374 3390 +16
========================================
+ Hits 23617 23648 +31
Misses 1365 1365
Partials 49 49
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. |
| coords = coords[:3] | ||
| coords += images * ts.dimensions[:3] | ||
| else: | ||
| raise ValueError("Cannot unwrap coordinates without image flags.") |
There was a problem hiding this comment.
You will need to add a test that covers this.
hmacdope
left a comment
There was a problem hiding this comment.
Looking good, just a few suggestions.
hmacdope
left a comment
There was a problem hiding this comment.
Almost there, quick comment and will await some feedback from @PicoCentauri
hmacdope
left a comment
There was a problem hiding this comment.
I'm happy with this now. :) Anyone else want to review or shall we go ahead.
IAlibay
left a comment
There was a problem hiding this comment.
Couple things on my end, mostly pep8
| @@ -455,7 +455,7 @@ class DumpReader(base.ReaderBase): | |||
| """Reads the default `LAMMPS dump format`_ | |||
|
|
|||
| Supports coordinates in the LAMMPS "unscaled" (x,y,z), "scaled" (xs,ys,zs), | |||
There was a problem hiding this comment.
We really need a Parameters section for this parser, this is too much text for folks to read and understand what's going on.
I'm happy having this be addressed in a follow-up PR, but can an issue be raised please?
|
Hmm I thought this was supposed to merge upon approval, do I need to do anything else? |
I was just waiting on CI, I'll merge now (we don't have merge on approval set up, it's something the coredevs need to discuss at some point I guess) |
Fixes #3843 #3741
Changes made in this Pull Request:
PR Checklist