From 36eb7e4de788b8cedbe43029f3c47c3899075dfe Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 7 Jan 2020 22:31:55 +0100 Subject: getting latent search updates working... --- cli/app/commands/biggan/search_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/app/commands/biggan') diff --git a/cli/app/commands/biggan/search_class.py b/cli/app/commands/biggan/search_class.py index 4e3973b..ef86613 100644 --- a/cli/app/commands/biggan/search_class.py +++ b/cli/app/commands/biggan/search_class.py @@ -41,7 +41,7 @@ def cli(ctx, opt_folder_id, opt_fp_in, opt_dims, opt_steps, opt_limit, opt_video if opt_folder_id != 0: folder = cortex_folder(opt_folder_id) files = download_cortex_files(opt_folder_id) - unprocessed_files = [file for file in files if file['generated'] == 0 and file['type'] == 'image'] + unprocessed_files = [file for file in files if file['generated'] == 0 and file['datatype'] == 'image'] if len(unprocessed_files) == 0: print("All files processed, nothing to do") return -- cgit v1.2.3-70-g09d2