3-manifolds / SnapPy

SnapPy is a package for studying the topology and geometry of 3-manifolds, with a focus on hyperbolic structures. It is based on the SnapPea kernel written by Jeff Weeks.
https://snappy.computop.org/
84 stars 39 forks source link

Browser: AKA field for a closed manifolds doesn't show Dehn filling coeffs #9

Closed NathanDunfield closed 4 years ago

NathanDunfield commented 4 years ago

Neil Hoffman reports:

I noticed that in M.browse() the also known as feature is listing manifolds by 'name' instead of str(M). (see attached picture) This is fine for cusped manifolds but slightly confusing for closed manifolds. Of course, this behavior is only an issue for closed manifolds that are surgeries on more than one named/known manifold. For example, v3184(0,1) is also s882(1,2).

In[88]: v = Manifold('v3184')

In[89]: v.browse()

In[90]: v.dehn_fill((0,1),0)

In[91]: v.identify()

Out[91]: [s882(1,2)]

In[92]: vF = v.identify()[0]

In[93]: vF

Out[93]: s882(1,2)

In[94]: vF.name()

Out[94]: 's882'

In[95]: str(vF)

Out[95]: 's882(1,2)'
Screen Shot 2020-01-13 at 8 54 14 AM
NathanDunfield commented 4 years ago

Fixed in 4f4d09dc81fc1f31c541a272442a00a87a2dd3d4.