Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,15 @@ def run(self):
install_requires = ['decorator',
'networkx',
'packaging',
'snappy_manifolds>=1.1.2',
'snappy_manifolds>=1.3',
'knot_floer_homology>=1.2.2']

setup( name = 'spherogram',
version = version,
install_requires = install_requires,
python_requires = '>=3',
dependency_links = [],
packages = ['spherogram', 'spherogram.links',
packages = ['spherogram', 'spherogram.links', 'spherogram.links.bands',
'spherogram.links.test', 'spherogram.codecs',
'spherogram.dev', 'spherogram.dev.dev_jennet'],
package_dir = {'spherogram' : 'spherogram_src', 'spherogram.dev':'dev'},
Expand Down
3 changes: 3 additions & 0 deletions spherogram_src/codecs/DT.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,9 @@ def link(self):
link._build_components(component_starts)
if not link.is_planar():
raise ValueError('DT code does not seem to define a *planar* diagram')
# Give the crossings standard names
for i, C in enumerate(link.crossings):
C.label = i
return link

def KLPProjection(self):
Expand Down
3 changes: 2 additions & 1 deletion spherogram_src/links/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from .tangles import Tangle, CapTangle, CupTangle, RationalTangle, ZeroTangle, InfinityTangle, MinusOneTangle, OneTangle, IntegerTangle, IdentityBraid, ComponentTangle, join_strands
from . import orthogonal
from .random_links import random_link
from . import bands

Link.view = orthogonal.orthogonal_draw

Expand All @@ -25,4 +26,4 @@ def pdf_docs():
'Tangle', 'CapTangle', 'CupTangle', 'RationalTangle',
'ZeroTangle', 'InfinityTangle', 'MinusOneTangle', 'OneTangle', 'IntegerTangle',
'IdentityBraid', 'join_strands',
'pdf_docs', 'random_link']
'pdf_docs', 'random_link', 'bands']
19 changes: 19 additions & 0 deletions spherogram_src/links/bands/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""

Submodule for doing band moves to construct ribbon concordances and
search for ribbon disks. Code originally developed by Nathan Dunfield
and Sherry Gong for their paper::

Ribbon concordances and slice obstructions: experiments and examples
https://arXiv.org/abs/FILLIN

"""

from . import merge_links
from . import core
from . import search
from .core import Band, normalize_crossing_labels
from .search import verify_ribbon_to_unknot



Loading
Loading