bugfix find

This commit is contained in:
Justus Kuhlmann 2025-05-23 07:01:01 +00:00
parent 0f2e61e600
commit 8cd3f36589

View file

@ -6,7 +6,6 @@ from .toml import import_tomls, update_project, reimport_project
from .find import find_record, list_projects from .find import find_record, list_projects
from .tools import str2list from .tools import str2list
from .main import update_aliases from .main import update_aliases
from .meas_io import drop_cache as mio_drop_cache
import os import os
app = typer.Typer() app = typer.Typer()
@ -91,11 +90,12 @@ def find(
), ),
ensemble: str = typer.Argument(), ensemble: str = typer.Argument(),
corr: str = typer.Argument(), corr: str = typer.Argument(),
code: str = typer.Argument(),
) -> None: ) -> None:
""" """
Find a record in the backlog at hand. Through specifying it's ensemble and the measured correlator. Find a record in the backlog at hand. Through specifying it's ensemble and the measured correlator.
""" """
results = find_record(path, ensemble, corr) results = find_record(path, ensemble, corr, code)
print(results) print(results)