-
Notifications
You must be signed in to change notification settings - Fork 826
Closed
Description
Is your feature request related to a problem?
Is there any reason DistanceMatrix cannot accept an AtomGroup inplace of a Universe? This would help with atomgroups created through non-selection-string ways, which you then need to re-create with atom indices. e.g.
https://groups.google.com/g/mdnalysis-discussion/c/ad4HW_6w2MM/m/-h3bRDv0DgAJ?utm_medium=email&utm_source=footer
Describe the solution you'd like
Here:
mdanalysis/package/MDAnalysis/analysis/diffusionmap.py
Lines 251 to 253 in 5bf6359
| super(DistanceMatrix, self).__init__(universe.trajectory, **kwargs) | |
| self.atoms = universe.select_atoms(select) |
- universe.trajectory
+ universe.universe.trajectoryDescribe alternatives you've considered
Additional context
Reactions are currently unavailable