-
Notifications
You must be signed in to change notification settings - Fork 824
Closed
Description
Expected behavior
The dtype of the dimensions for a standard (not in-memory) universe should be consistent with an in-memory universe. This is in particular important for the low-lewel C functions like the make_whole function which will fail for the in-memory trajectory, since it requires a float.
Actual behavior
The dimension of the standard universe representation is a float and the in-memory representation is a double.
Code to reproduce the behavior
import MDAnalysis as mda
from MDAnalysis.tests.datafiles import PSF, DCD
u = mda.Universe(PSF, DCD)
u2 = mda.Universe(PSF, DCD, in_memory=True)
print(u.dimensions.dtype)
print(u2.dimensions.dtype)Currently version of MDAnalysis
I'm using Python 3.6 and the dev version of MDAnalysis on MacOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels