rename: tea-modulo / tea_modulo -> tea (distribution, package, entry-point groups, MLflow names, image paths)

This commit is contained in:
AlbertoPMDM
2026-11-19 08:26:43 -06:00
parent fe36d5d859
commit e8e5b96755
320 changed files with 360 additions and 360 deletions
+6 -6
View File
@@ -6,9 +6,9 @@ import numpy as np
import pytest
from synth_edf import SPINDLE, make_edf
from tea_modulo.contracts.testing import check_biomarker
from tea_modulo.pipeline import Pipeline
from tea_modulo.preprocessing import DIRECTOR_CLUSTER
from tea.contracts.testing import check_biomarker
from tea.pipeline import Pipeline
from tea.preprocessing import DIRECTOR_CLUSTER
@pytest.fixture(scope="module")
@@ -20,8 +20,8 @@ def studies(tmp_path_factory):
@pytest.mark.parametrize("laplacian", [False, True])
def test_modern_agrees_with_legacy(studies, laplacian):
from tea_modulo.biomarkers.spindle_topography import SpindleTopography
from tea_modulo.legacy.biomarkers.spindle_topography import LegacySpindleTopography
from tea.biomarkers.spindle_topography import SpindleTopography
from tea.legacy.biomarkers.spindle_topography import LegacySpindleTopography
m = SpindleTopography(laplacian=laplacian).measure(studies[0])
l = LegacySpindleTopography(laplacian=laplacian).measure(studies[1])
for k in m:
@@ -39,5 +39,5 @@ def test_biomarker_contract(tmp_path):
pipe = Pipeline.default("modern")
sts = [pipe.study(make_edf(tmp_path / f"s{i}.edf", minutes=6, seed=i), plan=DIRECTOR_CLUSTER,
age_months=20 + 4 * i) for i in range(3)]
from tea_modulo.biomarkers.spindle_topography import SpindleTopography
from tea.biomarkers.spindle_topography import SpindleTopography
check_biomarker(SpindleTopography(baseline="age_blocks"), sts, [20, 24, 28])