From 2bbefea591d305e1cb34e9db86ba1d721c88f7c8 Mon Sep 17 00:00:00 2001 From: Matthias Goerner <1239022+unhyperbolic@users.noreply.github.com> Date: Sun, 18 Feb 2024 00:03:54 -0800 Subject: [PATCH] verify: renaming some python files to conform to naming converntions. --- doc_src/verify_internals.rst | 4 ++-- python/__init__.py | 2 +- python/verify/__init__.py | 4 ++-- python/verify/{cuspTranslations.py => cusp_translations.py} | 0 python/verify/test.py | 2 +- python/verify/{verifyCanonical.py => verify_canonical.py} | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename python/verify/{cuspTranslations.py => cusp_translations.py} (100%) rename python/verify/{verifyCanonical.py => verify_canonical.py} (100%) diff --git a/doc_src/verify_internals.rst b/doc_src/verify_internals.rst index e4187eab3..149bc9780 100644 --- a/doc_src/verify_internals.rst +++ b/doc_src/verify_internals.rst @@ -58,8 +58,8 @@ more gracefully returning ``False`` or ``None`` in such a case. Verified canonical cell decompositions -------------------------------------- -.. autofunction:: snappy.verify.verifyCanonical.interval_checked_canonical_triangulation -.. autofunction:: snappy.verify.verifyCanonical.exactly_checked_canonical_retriangulation +.. autofunction:: snappy.verify.verify_canonical.interval_checked_canonical_triangulation +.. autofunction:: snappy.verify.verify_canonical.exactly_checked_canonical_retriangulation Exact computations for cusp cross sections ------------------------------------------ diff --git a/python/__init__.py b/python/__init__.py index 349cd5846..27860cd5a 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -774,7 +774,7 @@ def all_translations(self, verified=False, bits_prec=None): """ if verified or bits_prec: - # Use the implementation in verify.cuspTranslations that uses + # Use the implementation in verify.cusp_translations that uses # tetrahedra_shapes and ComplexCuspNeighborhood return verify.cusp_translations_for_neighborhood( self, verified=verified, bits_prec=bits_prec) diff --git a/python/verify/__init__.py b/python/verify/__init__.py index 0528064d7..19a5758fb 100644 --- a/python/verify/__init__.py +++ b/python/verify/__init__.py @@ -2,8 +2,8 @@ from .krawczyk_shapes_engine import * from .verifyHyperbolicity import * -from .verifyCanonical import * -from .cuspTranslations import * +from .verify_canonical import * +from .cusp_translations import * from .cusp_shapes import * from .volume import * from .complex_volume import * diff --git a/python/verify/cuspTranslations.py b/python/verify/cusp_translations.py similarity index 100% rename from python/verify/cuspTranslations.py rename to python/verify/cusp_translations.py diff --git a/python/verify/test.py b/python/verify/test.py index acb7927ee..01091feb3 100644 --- a/python/verify/test.py +++ b/python/verify/test.py @@ -59,7 +59,7 @@ def run_doctests(verbose=False, print_info=True): generate_test_with_shapes_engine( verify.verifyHyperbolicity, verify.IntervalNewtonShapesEngine), - verify.verifyCanonical, + verify.verify_canonical, verify.interval_tree, volume, cusp_areas, diff --git a/python/verify/verifyCanonical.py b/python/verify/verify_canonical.py similarity index 100% rename from python/verify/verifyCanonical.py rename to python/verify/verify_canonical.py