Yeah, the right parentheses is misplaced.

Sent from my iPhone

> On Oct 28, 2013, at 11:00 AM, kyleabeauchamp <notifications@github.com> wrote:
> 
> In MDTraj/topology.py:
> 
> > @@ -738,12 +753,30 @@ def atoms(self):
> >              for atom in residue._atoms:
> >                  yield atom
> >  
> > +    def atom(self, index):
> > +        """Get a specific atom in this Chain
> > +
> > +        Returns
> > +        -------
> > +        atom : Atom
> > +        """
> > +        # this could be made faster by caching the list
> > +        # of atoms internally if necessary
> > +        return next(itertools.slice(self.atoms), index, index+1)
> Or maybe the index is supposed to be in slice?
> 
> —
> Reply to this email directly or view it on GitHub.