From 75c136de5ecc38bb2bb2abe4e7b46f40dc2eabe7 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 20 Feb 2024 16:20:32 +0100 Subject: [PATCH] unzip examples --- happypose/toolbox/utils/download.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/happypose/toolbox/utils/download.py b/happypose/toolbox/utils/download.py index 865dfc5f..8ca2e210 100755 --- a/happypose/toolbox/utils/download.py +++ b/happypose/toolbox/utils/download.py @@ -288,11 +288,9 @@ async def main(): ) if args.examples: for example in args.examples: - to_dl.append( - ( - f"examples/{example}", - LOCAL_DATA_DIR / "examples", - ) + to_dl.append((f"examples/{example}.zip", DOWNLOAD_DIR)) + to_unzip.append( + (DOWNLOAD_DIR / f"{example}.zip", LOCAL_DATA_DIR / "examples") ) # logger.info(f"{to_dl=}")