#7692: update the sloane OEIS database to the latest version; it is a little out
of date.
---------------------------------+------------------------------------------
Reporter: was | Owner: tbd
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.3.1
Component: optional packages | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
---------------------------------+------------------------------------------
Changes (by ssivek):
* status: needs_work => needs_review
Comment:
I've added a patch which adds two new functions in
SloaneEncyclopediaClass:
- SloaneEncyclopedia.install() will download the stripped.gz file from the
OEIS website and install it. The user can specify an alternate URL and
whether to overwrite an existing copy of the OEIS.
- SloaneEncyclopedia.install_from_gz() installs the encyclopedia from a
local copy of stripped.gz; the user has to specify the filename and
(optionally) whether to overwrite an existing copy.
This eliminates the need for a spkg as long as the user can get a copy of
stripped.gz, so if we want to continue providing a spkg (assuming we even
have permission: see
http://www.research.att.com/~njas/sequences/Seis.html#SEARCH2) it should
probably just contain stripped.gz and a spkg-install script which passes
it to install_from_gz().
The patch should also fix the IndexError issue from the referee report,
since now instead of hardcoding the size of the database and allocating an
array of that size it just loads the database into a dictionary.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7692#comment:7>
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 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-trac?hl=en.