spec-b300 / source /scripts /prepare_data.py
khazic's picture
Archive three-epoch run: logs and provenance part 2
932bc69 verified
Raw
History Blame Contribute Delete
460 Bytes
#!/usr/bin/env python3
"""Backward-compatibility shim — use ``speculators prepare-data`` instead."""
import warnings
import typer
from speculators.cli.prepare_data import prepare_data
warnings.warn(
"scripts/prepare_data.py is deprecated and will be removed in v0.9.0. "
"Use 'speculators prepare-data' instead.",
DeprecationWarning,
stacklevel=1,
)
app = typer.Typer()
app.command()(prepare_data)
if __name__ == "__main__":
app()