From 8cd3f3658960e1587394a77649f53e3a3fe74d3f Mon Sep 17 00:00:00 2001 From: Justus Kuhlmann Date: Fri, 23 May 2025 07:01:01 +0000 Subject: [PATCH] bugfix find --- corrlib/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corrlib/cli.py b/corrlib/cli.py index ca2acb2..e1fe75e 100644 --- a/corrlib/cli.py +++ b/corrlib/cli.py @@ -6,7 +6,6 @@ from .toml import import_tomls, update_project, reimport_project from .find import find_record, list_projects from .tools import str2list from .main import update_aliases -from .meas_io import drop_cache as mio_drop_cache import os app = typer.Typer() @@ -91,11 +90,12 @@ def find( ), ensemble: str = typer.Argument(), corr: str = typer.Argument(), + code: str = typer.Argument(), ) -> None: """ 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)