Skip to content

Commit

Permalink
Link: added example specifying by DT string.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Apr 14, 2021
1 parent 8956613 commit d1c1ca2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spherogram_src/links/links_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ class Link(object):
WARNING: In SnapPy 3.0, the convention for braids changed. See
the "doc.pdf" file for details.
DT codes, in their many forms, are also accepted:
>>> L1 = Link('DT: [(4,6,2)]')
>>> L2 = Link('DT: cacbca.001')
You can also access the links from the Rolfsen and
Hoste-Thistlethwaite tables by name.
Expand Down

0 comments on commit d1c1ca2

Please sign in to comment.