#10358: New interface with OEIS
-------------------------------------+-----------------------------
Reporter: was | Owner: tmonteil
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-5.13
Component: combinatorics | Resolution:
Keywords: Cernay2012 days49 | Merged in:
Authors: Thierry Monteil | Reviewers: Nathann Cohen
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-----------------------------
Old description:
> The sloane_find command, which parses output of a webpage, is broken for
> years due to the Sloane sequence webpage being rewritten. It silently
> always finds nothing.
>
> {{{
> sage: sloane_find([1,1,2,3,5,8,13,21], nresults=1)
> []
> }}}
>
> The aim of this ticket is to propose a new interface with OEIS
> http://oeis.org/
>
> Apply:
> * [attachment:trac_10358-oeis-tm.patch]
> * [attachment:trac_10358-oeis-review_1-tm.patch]
> * [attachment:trac_10358-oeis-review_2-tm.patch]
> * [attachment:trac_10358-rev.patch]
New description:
The sloane_find command, which parses output of a webpage, is broken for
years due to the Sloane sequence webpage being rewritten. It silently
always finds nothing.
{{{
sage: sloane_find([1,1,2,3,5,8,13,21], nresults=1)
[]
}}}
The aim of this ticket is to propose a new interface with OEIS
http://oeis.org/
Apply:
* [attachment:trac_10358-oeis-tm.patch]
* [attachment:trac_10358-oeis-review_1-tm.patch]
* [attachment:trac_10358-oeis-review_2-tm.patch]
* [attachment:trac_10358-oeis-review_3-nc-tm.patch]
--
Comment (by tmonteil):
Hi,
i built a new patch above yours. Instead of copying the doc of `__call__`
to the doc of `OEIS`, i moved it to avoid code replication.
Also, the `html()` function prints things but returns nothing, so i
updated the doc accordingly.
I also had to update some doctests since some OEIS entries get updated
upstream.
I made the patch with sage 5.10, so let us see if the patchbot can apply
and test them on 5.12 (i am going compile it, but it may take some time).
--
Ticket URL: <http://trac.sagemath.org/ticket/10358#comment:40>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.