Skip to content

Commit

Permalink
f2
Browse files Browse the repository at this point in the history
  • Loading branch information
fvankrieken committed Dec 19, 2024
1 parent 7cabd0d commit 82ace91
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions dcpy/lifecycle/scripts/validate_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'")

Expand All @@ -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")


Expand Down

0 comments on commit 82ace91

Please sign in to comment.