-
Notifications
You must be signed in to change notification settings - Fork 668
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
change timeseries "format" kw to "order" #1453
Comments
I think we should consider adding this to 0.17 so that we have some deprecation time. |
Note to myself: While playing around with the memory reader for the Examples for RMSF I found that not all orderings (keyword Need to investigate more and possibly add tests for all permutations when reading with the MemoryReader. |
Also note that the docs for the MemoryReader need to be update:
In general we need to clarify how file types are recognized. |
I'll try to do this in my ample spare time ;-) – unless anyone else wants to: feel free to snatch this issue from me. |
@orbeckst do you have any code for your experiments of |
No, sorry. But you can take the Example at https://www.mdanalysis.org/mdanalysis/documentation_pages/analysis/rms.html#MDAnalysis.analysis.rms.RMSF and just change # make a reference structure (need to reshape into a 1-frame "trajectory")
reference = mda.Merge(protein).load_new(
reference_coordinates[:, None, :], order="afc") and it should fail. (I am travelling and if you want to work on this please by all means do so and also assign yourself/un-assign me. Thanks!) |
Your example case works now with my changes. |
@kain88-de many thanks for finishing the PR, I very much appreciate you jumping in. Sorry I wasn't able to be more helpful. |
It’s ok. There is a tone of stuff I’m not getting done on MDAnalysis myself right now.
… On 5. Jan 2018, at 16:19, Oliver Beckstein ***@***.***> wrote:
@kain88-de many thanks for finishing the PR, I very much appreciate you jumping in. Sorry I wasn't able to be more helpful.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
* Completes MDAnalysis#1453 for MemoryReader (and towards v1.0 MDAnalysis#2443) * Removes support for the deprecated format keyword in MemoryReader.timeseries. * Removes deprecation test * Update CHANGELOG
In various issues and discussions we sort-of decided that the
Reader.timeseries()
method should not useformat="afc"
as a kwarg butorder="afc"
(which make it consistent with theMemoryReader
, avoids clashes with the builtinformat
, ... and avoids clashes with theformat
kwarg ofUniverse
(yes, that one clashes with the builtin, too)).The text was updated successfully, but these errors were encountered: