Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarnoud committed Jul 8, 2018
1 parent 1ef8010 commit 6542374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 3 additions & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Enhancements
* ChainReader can correctly handle continuous trajectories split into multiple files,
generated with gromacs -noappend (PR #1728)
* MDAnalysis.lib.mdamath now supports triclinic boxes and rewrote in Cython (PR #1965)
* AtomGroup.write can write a trajectory of selected frames (Issue #1037)

Fixes
* rewind in the SingleFrameReader now reads the frame from the file (Issue #1929)
Expand All @@ -70,6 +71,8 @@ Changes
*Group.unique will always return the same object unless the group is
updated or modified. (PR #1922)
* The TPR parser reads SETTLE constraints as bonds. (Issue #1949)
* Indexing a trajectory with a slice or an array now returns an iterable
(Issue #1894)


04/15/18 tylerjereddy, richardjgowers, palnabarun, bieniekmateusz, kain88-de,
Expand Down
8 changes: 0 additions & 8 deletions package/MDAnalysis/coordinates/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,14 +1533,6 @@ def __getitem__(self, frame):
frame = np.asarray(frame, dtype=np.bool)
# Convert bool array to int array
frame = np.arange(len(self))[frame]

#def listiter(frames):
# for f in frames:
# if not isinstance(f, numbers.Integral):
# raise TypeError("Frames indices must be integers")
# yield self._read_frame_with_aux(apply_limits(f))
#
#return listiter(frame)
return FrameIteratorIndices(self, frame)
elif isinstance(frame, slice):
start, stop, step = self.check_slice_indices(
Expand Down

0 comments on commit 6542374

Please sign in to comment.