rename: tea-modulo / tea_modulo -> tea (distribution, package, entry-point groups, MLflow names, image paths)
This commit is contained in:
@@ -5,11 +5,11 @@ from __future__ import annotations
|
||||
import pytest
|
||||
|
||||
from synth_edf import make_edf
|
||||
from tea_modulo.contracts import Study
|
||||
from tea_modulo.contracts.testing import check_biomarker, check_process
|
||||
from tea_modulo.pipeline import Pipeline
|
||||
from tea_modulo.preprocessing import DIRECTOR_CLI, DIRECTOR_CLUSTER
|
||||
from tea_modulo.processes.sleep_state import SleepState
|
||||
from tea.contracts import Study
|
||||
from tea.contracts.testing import check_biomarker, check_process
|
||||
from tea.pipeline import Pipeline
|
||||
from tea.preprocessing import DIRECTOR_CLI, DIRECTOR_CLUSTER
|
||||
from tea.processes.sleep_state import SleepState
|
||||
|
||||
ANN = [(5, None, "Paciente despierto"), (240.5, None, "Dormido"), (100, 20, "Fotica 5 Hz"), (150, None, "llanto")]
|
||||
|
||||
@@ -50,7 +50,7 @@ def test_biomarker_contract(tmp_path):
|
||||
pipe = Pipeline.default("modern")
|
||||
sts = [pipe.study(make_edf(tmp_path / f"s{i}.edf", minutes=4, seed=i, rhythm_hz=6 + 0.4 * i),
|
||||
plan=DIRECTOR_CLUSTER, age_months=20 + 4 * i) for i in range(3)]
|
||||
from tea_modulo.biomarkers.posterior_rhythm import PosteriorRhythm
|
||||
from tea.biomarkers.posterior_rhythm import PosteriorRhythm
|
||||
check_biomarker(PosteriorRhythm(baseline="age_blocks"), sts, [20, 24, 28])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user