From 82ace91adcda0509e7b8fdefd461837239d989e8 Mon Sep 17 00:00:00 2001 From: Finn van Krieken Date: Wed, 18 Dec 2024 13:10:37 -0500 Subject: [PATCH] f2 --- dcpy/lifecycle/scripts/validate_ingest.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dcpy/lifecycle/scripts/validate_ingest.py b/dcpy/lifecycle/scripts/validate_ingest.py index 919417c62..a17fee511 100644 --- a/dcpy/lifecycle/scripts/validate_ingest.py +++ b/dcpy/lifecycle/scripts/validate_ingest.py @@ -207,12 +207,10 @@ def run_single( ): if tool == "library": library_archive(dataset, version, file_type=library_format) - load_recipe( - dataset, tool, _library_format_to_recipe_file_type(library_format) - ) ## type: ignore + load_recipe(dataset, tool, _library_format_to_recipe_file_type(library_format)) # type: ignore elif tool == "ingest": ingest(dataset, version) - load_recipe(dataset, tool) ## type: ignore + load_recipe(dataset, tool) # type: ignore else: raise NotImplementedError("'tool' must be either 'library' or 'ingest'") @@ -228,9 +226,7 @@ def _run_both( ingest(dataset, version) library_archive(dataset, version, file_type=library_format) - load_recipe( - dataset, "library", _library_format_to_recipe_file_type(library_format) - ) ## type: ignore + load_recipe(dataset, "library", _library_format_to_recipe_file_type(library_format)) load_recipe(dataset, "ingest")