Added slices to CoordinatesMap
This commit is contained in:
parent
22287d167d
commit
b4486ff265
3
.gitignore
vendored
3
.gitignore
vendored
@ -14,3 +14,6 @@ doc/modules
|
|||||||
tmp/
|
tmp/
|
||||||
*.xtcindex
|
*.xtcindex
|
||||||
.spyproject/
|
.spyproject/
|
||||||
|
.traj.xtc_offsets.lock
|
||||||
|
.traj.xtc_offsets.npz
|
||||||
|
*.npy
|
@ -362,6 +362,7 @@ class CoordinatesMap:
|
|||||||
self.frames = self.coordinates.frames
|
self.frames = self.coordinates.frames
|
||||||
self.atom_subset = self.coordinates.atom_subset
|
self.atom_subset = self.coordinates.atom_subset
|
||||||
self.function = function
|
self.function = function
|
||||||
|
self._slice = slice(None)
|
||||||
if isinstance(function, partial):
|
if isinstance(function, partial):
|
||||||
self._description = self.function.func.__name__
|
self._description = self.function.func.__name__
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user