Hi Edward.

I wonder why range objects in relax by default are created as
xrange objects?

I think this is related to the error when importing matplotlib.
from pylab import *

-------
relax> M31=range(10)
relax> type(M31)
<type 'xrange'>
relax> print M31[:7]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: sequence index must be integer, not 'slice'
-----

Best
Troels
_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to