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
+5 -5
View File
@@ -30,7 +30,7 @@ def clean(text) -> str:
def write_summary(text: str, out_prefix: str, name: str) -> str:
"""In a task: write the summary JSON under processed/usuarios/... (never raw/ or eeg-edf)."""
from tea_modulo.pipeline.storage import s3
from tea.pipeline.storage import s3
if not out_prefix.startswith("processed/usuarios/") or ".." in out_prefix:
raise PermissionError("summaries go only under processed/usuarios/<name>/")
key = out_prefix.rstrip("/") + "/" + name
@@ -88,8 +88,8 @@ def diagnose(path, age_months, plan, modules, order, biomarkers, line_hz, name_f
reported only when `name_file` (public data)."""
import traceback
from tea_modulo.contracts import Study
from tea_modulo.pipeline import storage
from tea.contracts import Study
from tea.pipeline import storage
out = {"file": Path(str(path)).name if name_file else None, "step": None, "error": "",
"traceback": ""}
step = "read"
@@ -126,8 +126,8 @@ def run_impls(client, items, *, plan, impls, biomarkers, check_n, line_hz, name_
maps a group label to the item indices it holds (e.g. lot, age group)."""
import pandas as pd
from tea_modulo.pipeline import Pipeline, run_study
from tea_modulo.pipeline.run_study import order_for
from tea.pipeline import Pipeline, run_study
from tea.pipeline.run_study import order_for
paths, ages = [p for p, _ in items], [a for _, a in items]
infos, tables = {}, {}