the command iter_levels does not read the last line of the file
I even tried
 s = SteinWatkinsAllData(0);
L=s.__getslice__(99995,99999);L;

this gives not output, where as
s = SteinWatkinsAllData(0);

L=s.__getslice__(99995,99997);L;
gives the correct output/


Currently I was running the following code
s = SteinWatkinsAllData(0);
d=s.iter_levels();
while c<10^5-1:
    A=d.next();

And it gave me the following error after conductor 99997

Traceback (most recent call last):    while c<10^5:
  File "", line 1, in <module>

  File "/private/var/folders/rt/rtyQ7RPsHRCDmvOBf9SYwU+++TI/-Tmp-/
tmpVqySXB/___code___.py", line 10, in <module>
    A=d.next();
  File "/Applications/sage/local/lib/python2.6/site-packages/sage/
databases/stein_watkins.py", line 247, in iter_levels
    E = iter.next()
StopIteration


Right now I have a temp. fix for my code. Which is to add a fake curve
at the end of each file with conductor (n)*10^5. But was wondering if
we could adjust the code instead. I am not very familiar with python
so, done have a way yet, but will keep on working on it.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to