Skip to content
Snippets Groups Projects

Image Ingestion Workflow Part 1

Merged Charlotte Hausman requested to merge WS-531_image_ingestion into main
5 files
+ 110
12
Compare changes
  • Side-by-side
  • Inline
Files
5
  • fdb7a822
    Image Ingestion workflow · fdb7a822
    Charlotte Hausman authored
    - fix conveyor to allow multiple ingestion attempts
    - fix workflow endpoint for image ingestion
    - create ingest-image workflow
@@ -45,6 +45,13 @@ def arg_parser() -> argparse.ArgumentParser:
required=False,
help="deliver standard image results to analyst image QA area",
)
parser.add_argument(
"--retrieve-img",
nargs=1,
action="store",
required=False,
help="retrieve standard image results to original parent directory",
)
return parser
@@ -91,6 +98,10 @@ def main():
action = "Image Delivery"
settings = _get_settings(args.deliver_img[0])
conveyor = DeliveryConveyor(settings, action)
elif args.retrieve_img is not None:
action = "Image Retrieval"
settings = _get_settings(args.retrieve_img[0])
conveyor = RetrievalConveyor(settings, action)
conveyor.convey()
logger.info(f"Standard {action} is complete!")
Loading