From 08fa371f49042a2989ec3d494f37b8db63b13c95 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 7 Jan 2020 20:05:57 +0100 Subject: script to run everything --- cli/app/commands/biggan/fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/app/commands/biggan/fetch.py') diff --git a/cli/app/commands/biggan/fetch.py b/cli/app/commands/biggan/fetch.py index 39f503c..d454633 100644 --- a/cli/app/commands/biggan/fetch.py +++ b/cli/app/commands/biggan/fetch.py @@ -9,9 +9,9 @@ from app.utils.cortex_utils import fetch_cortex_folder, find_unprocessed_files @click.pass_context def cli(ctx, opt_folder_id): """ - Fetch JSON from the server + Fetch new images from the server """ - files = fetch_cortex_folder(opt_folder_id) + files = download_cortex_files(opt_folder_id) unprocessed_files = find_unprocessed_files(files) print("Unprocessed files:") for file in unprocessed_files: -- cgit v1.2.3-70-g09d2