Skip to content
Snippets Groups Projects
Commit 4a685f27 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Minor fixes to backfill script

parent fe384bb8
No related branches found
No related tags found
1 merge request!943[Webservice] Create correction reports in MyMdC when jobs have finished
......@@ -9,7 +9,7 @@ from .config import webservice as config
from .webservice import init_md_client
ap = argparse.ArgumentParser()
ap.add_argument("db-file")
ap.add_argument("db_file")
ap.add_argument("--really", action="store_true")
args = ap.parse_args()
......@@ -37,7 +37,7 @@ for i, r in enumerate(rows):
continue
if not os.path.isfile(report_path):
print(f"Report file {report_path} missing (p{r['proposal']}, r{r['run']}")
print(f"Report file {report_path} missing (p{r['proposal']}, r{r['run']})")
continue
desc = f"{r['karabo_id']} detector corrections"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment