Conversation
|
So Encore uses |
| natoms=self.n_atoms | ||
| )) | ||
|
|
||
| def timeseries(self, asel=None, start=None, stop=None, step=None, |
There was a problem hiding this comment.
This is a new feature for trajectory readers. It cannot go into a patch release. It has to be in 0.17.0.
There was a problem hiding this comment.
Ok, I'll bump this into 0.17 then
| # XXX needs to be implemented | ||
| return self._read_timeseries(atom_numbers, start, stop, step, format) | ||
|
|
||
| @deprecate(message="This method will be removed in 0.17") |
There was a problem hiding this comment.
All the deprecations can go in now.
I somehow missed your PR and did the reST deprecations in PR #1403
|
@richardjgowers I cherry-picked your first two commits onto #1403 |
| * 0.16.2 | ||
|
|
||
| Deprecations | ||
| * deprecated core.Timeseries module (Issue #1383) |
There was a problem hiding this comment.
this needs to be moved up the timeline or removed right?
There was a problem hiding this comment.
Yeah it's leftover from when this also did the deprecation
| # do we need copy in this case? | ||
| coordinates[i] = ts.positions[atom_numbers].copy() | ||
|
|
||
| return coordinates |
There was a problem hiding this comment.
This is not implementing the format keyword argument. I guess you can copy the code I use in libdcd for this. There are also a lot of tests for it right now.
There was a problem hiding this comment.
And yeah, I'll have to deal with that in this PR too
There was a problem hiding this comment.
And we wanted to change the format kwarg to order.... #1400 (comment)
| step : int (optional) | ||
| Step size for reading; the default ``None`` is equivalent to 1 and means to | ||
| read every frame. | ||
| format : str (optional) |
There was a problem hiding this comment.
btw I'm for naming this option order format is confusing with the buildin
- updated format -> order kwarg - updated docs - note: general reader.timeseries only supports order="FAC" at the moment - CHANGELOG
Fixes partially #1383
Changes made in this Pull Request:
core.Timeseriesclassestimeseriesmethod to ProtoReaderPR Checklist