Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ascii_art in Tableaux.global_options has outdated documentation #17995

Open
MariaMonks mannequin opened this issue Mar 18, 2015 · 12 comments
Open

ascii_art in Tableaux.global_options has outdated documentation #17995

MariaMonks mannequin opened this issue Mar 18, 2015 · 12 comments

Comments

@MariaMonks
Copy link
Mannequin

MariaMonks mannequin commented Mar 18, 2015

In Tableaux.global_options, the ascii_art documentation is out of date: "normal" is no longer an option. The "table" option could possibly use a new alias.

CC: @opechenik @darijgr

Component: combinatorics

Keywords: days64, tableau

Author: Maria Monks Gillespie, Oliver Pechenik

Branch/Commit: public/17995 @ ddb4c16

Issue created by migration from https://trac.sagemath.org/ticket/17995

@MariaMonks MariaMonks mannequin added this to the sage-6.6 milestone Mar 18, 2015
@MariaMonks
Copy link
Mannequin Author

MariaMonks mannequin commented Mar 20, 2015

Branch: u/MariaMonks/ascii_art_take2

@MariaMonks
Copy link
Mannequin Author

MariaMonks mannequin commented Mar 20, 2015

Commit: cd5068d

@MariaMonks
Copy link
Mannequin Author

MariaMonks mannequin commented Mar 20, 2015

New commits:

21922fdtesting word wrapping
cd5068dnew ascii_art options

@MariaMonks
Copy link
Mannequin Author

MariaMonks mannequin commented Mar 20, 2015

Author: Maria Monks Gillespie, Oliver Pechenik

@MariaMonks MariaMonks mannequin added the s: needs review label Mar 20, 2015
@MariaMonks
Copy link
Mannequin Author

MariaMonks mannequin commented Mar 20, 2015

Changed keywords from none to days64, tableau

@darijgr
Copy link
Contributor

darijgr commented Mar 25, 2015

comment:5

Good work! I have posted the underlying bug in the doctest framework as #18051.

@darijgr
Copy link
Contributor

darijgr commented Mar 25, 2015

New commits:

4cea527Merge branch 'u/MariaMonks/ascii_art_take2' of git://trac.sagemath.org/sage into hu
ddb4c16better keep around old doctests too

@darijgr
Copy link
Contributor

darijgr commented Mar 25, 2015

Changed branch from u/MariaMonks/ascii_art_take2 to public/17995

@darijgr
Copy link
Contributor

darijgr commented Mar 25, 2015

Changed commit from cd5068d to ddb4c16

@tscrim
Copy link
Collaborator

tscrim commented Mar 25, 2015

comment:7

First, Darij, reviewer name.

Second, you should set .boxes as an alias for table and plain for diagram by adding alias=dict(plain='diagram', boxes="table"), see the options above the ascii_art for instance. This way you need far less code for the same effect you're trying to achieve (and it's easier to maintain).

Unfortunately, due to the current limitations of the doctesting framework, it doesn't know to run those tests in (dynamically) generated doc. See #14272. Also you'll have to update doctest/sources.py and it has a test to catch exactly how many tests we are currently skipping.

@darijgr
Copy link
Contributor

darijgr commented Mar 25, 2015

comment:8

Thank you for the info! This is far down my queue, though, so I think my reviewer name has no business being there.

@darijgr
Copy link
Contributor

darijgr commented Mar 25, 2015

comment:9

todo: ascii art should also take into account that tableaux can have huge entries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants