Coordinates returns now correct length after slicing
This commit is contained in:
1 parent
363e420cd8
commit
5e80701562
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user