Coordinates returns now correct length after slicing
This commit is contained in:
parent
363e420cd8
commit
5e80701562
@ -232,7 +232,7 @@ class Coordinates:
|
||||
return sliced
|
||||
|
||||
def __len__(self):
|
||||
return len(self.frames)
|
||||
return len(self.frames[self._slice])
|
||||
|
||||
def __checksum__(self):
|
||||
return checksum(self.frames, self.atom_filter, self._slice, self.mode)
|
||||
|
Loading…
Reference in New Issue
Block a user