Yea I know that now, but I didn't as I was writing, so I just made sure


On Wed, Feb 12, 2014 at 2:29 PM, Robert McGibbon
<notifications@github.com>wrote:

> In MDTraj/geometry/contact.py:
>
> > +
> > +
> > +    See Also
> > +    --------
> > +    mdtraj.contact.make_square : turn the result from this function
> > +        into a square "contact map"
> > +    """
> > +    if traj.topology is None:
> > +        raise ValueError('contact calculation requires a topology')
> > +
> > +    xyz = ensure_type(traj.xyz, dtype=np.float32, ndim=3, name='traj.xyz',
> > +                      shape=(None, None, 3), warn_on_cast=False)
> > +
> > +    if isinstance(contacts, str):
> > +        if contacts.lower() == 'all':
> > +            contacts = np.array([[i, j] for i in xrange(traj.n_residues) for j in xrange(i + 3, traj.n_residues, 1)])
>
> >>> list(xrange(10,7))
> []
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/rmcgibbo/mdtraj/pull/298/files#r9689343>
> .
>