rename: tea-modulo / tea_modulo -> tea (distribution, package, entry-point groups, MLflow names, image paths)
This commit is contained in:
@@ -6,10 +6,10 @@ import numpy as np
|
||||
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_CLUSTER
|
||||
from tea.contracts import Study
|
||||
from tea.contracts.testing import check_biomarker, check_process
|
||||
from tea.pipeline import Pipeline
|
||||
from tea.preprocessing import DIRECTOR_CLUSTER
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
@@ -44,5 +44,5 @@ def test_biomarker_contract(tmp_path):
|
||||
pipe = Pipeline.default("modern")
|
||||
sts = [pipe.study(make_edf(tmp_path / f"s{i}.edf", minutes=5, seed=i, bad={"spikes": ["C3"]}),
|
||||
plan=DIRECTOR_CLUSTER, age_months=20 + 4 * i) for i in range(3)]
|
||||
from tea_modulo.biomarkers.spikes import Spikes
|
||||
from tea.biomarkers.spikes import Spikes
|
||||
check_biomarker(Spikes(baseline="age_blocks"), sts, [20, 24, 28])
|
||||
|
||||
Reference in New Issue
Block a user