diff options
Diffstat (limited to 'cli/app/utils/cortex_utils.py')
| -rw-r--r-- | cli/app/utils/cortex_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/utils/cortex_utils.py b/cli/app/utils/cortex_utils.py index 50e85a4..e4594ff 100644 --- a/cli/app/utils/cortex_utils.py +++ b/cli/app/utils/cortex_utils.py @@ -34,12 +34,12 @@ def find_unprocessed_files(files): datasets = {} unprocessed_files = [] for file in files: - if file['generated'] == 1 and file['type'] == 'image': + if file['generated'] == 1 and file['datatype'] == 'image': fn, ext = os.path.splitext(file['name']) dataset = fn.split('-')[0] datasets[dataset] = file['id'] for file in files: - if file['generated'] == 0 and file['processed'] == 0 and file['type'] == 'image': + if file['generated'] == 0 and file['processed'] == 0 and file['datatype'] == 'image': fn, ext = os.path.splitext(file['name']) dataset = fn.split('-')[0] if dataset not in datasets: |
