From f3160c8816aefd58f83309578e1ca1f88936de2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Ja=C5=82owiecki?= Date: Mon, 13 May 2024 19:09:21 +0200 Subject: [PATCH] Move latex to integration subpackage --- src/bartiq/{ => integrations}/latex.py | 6 +++--- tests/test_latex.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/bartiq/{ => integrations}/latex.py (97%) diff --git a/src/bartiq/latex.py b/src/bartiq/integrations/latex.py similarity index 97% rename from src/bartiq/latex.py rename to src/bartiq/integrations/latex.py index 8b312be..45cfcf1 100644 --- a/src/bartiq/latex.py +++ b/src/bartiq/integrations/latex.py @@ -14,9 +14,9 @@ """Utilities for rendering estimators in LaTeX.""" from sympy import latex, symbols -from ._routine import Routine -from .compilation._utilities import split_equation -from .symbolics.sympy_interpreter import parse_to_sympy +from .._routine import Routine +from ..compilation._utilities import split_equation +from ..symbolics.sympy_interpreter import parse_to_sympy def _format_input_params(input_params: list[str]): diff --git a/tests/test_latex.py b/tests/test_latex.py index 5ff6c38..9636ee3 100644 --- a/tests/test_latex.py +++ b/tests/test_latex.py @@ -16,7 +16,7 @@ import pytest from bartiq import Routine -from bartiq.latex import represent_routine_in_latex +from bartiq.integrations.latex import represent_routine_in_latex @pytest.mark.parametrize(