prepare implementation

This commit is contained in:
Justus Kuhlmann 2026-04-17 16:24:31 +02:00
commit 0b1ff3cbad
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -1,6 +1,7 @@
from typing import Optional from typing import Optional
import typer import typer
from corrlib import __app_name__ from corrlib import __app_name__
from .initialization import create from .initialization import create
from .toml import import_tomls, update_project, reimport_project from .toml import import_tomls, update_project, reimport_project
from .find import find_record, list_projects from .find import find_record, list_projects
@ -8,6 +9,8 @@ from .tools import str2list
from .main import update_aliases from .main import update_aliases
from .meas_io import drop_cache as mio_drop_cache from .meas_io import drop_cache as mio_drop_cache
from .meas_io import load_record as mio_load_record from .meas_io import load_record as mio_load_record
# from .integrity import
import os import os
from pyerrors import Corr from pyerrors import Corr
from importlib.metadata import version from importlib.metadata import version
@ -137,6 +140,23 @@ def stat(
return return
@app.command()
def check(path: Path = typer.Option(
Path('./corrlib'),
"--dataset",
"-d",
),
files: str = typer.Argument(
),
copy_file: bool = typer.Option(
bool(True),
"--save",
"-s",
),) -> None:
"" : ""
@app.command() @app.command()
def importer( def importer(
path: Path = typer.Option( path: Path = typer.Option(