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
+4 -4
View File
@@ -49,7 +49,7 @@ def guard(path: str) -> str:
def list_lot(prefix: str) -> list[str]:
"""In a task: s3 paths of the EDFs of one lot (they stay in the runner pod)."""
from tea_modulo.pipeline.storage import s3
from tea.pipeline.storage import s3
return sorted("s3://" + guard(r) for r in s3().find(guard(prefix)) if r.lower().endswith(".edf"))
@@ -81,7 +81,7 @@ def age_from_header(header: bytes) -> float | None:
def header_age(path: str) -> float | None:
"""In a task: the age of one EDF (reads only its first 256 bytes)."""
from tea_modulo.pipeline.storage import s3
from tea.pipeline.storage import s3
with s3().open(guard(path), "rb") as f:
return age_from_header(f.read(256))
@@ -100,8 +100,8 @@ def main(argv=None) -> int:
from distributed import Client
from tea_modulo.pipeline.dask_runner import scheduler_address
from tea_modulo.preprocessing import DIRECTOR_CLUSTER
from tea.pipeline.dask_runner import scheduler_address
from tea.preprocessing import DIRECTOR_CLUSTER
ap = argparse.ArgumentParser(prog="python -m verification issste")
ap.add_argument("--out", required=True)