diff options
| author | adamhrv <adam@ahprojects.com> | 2019-01-17 11:26:41 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-01-17 11:26:41 +0100 |
| commit | cb4d6d6f5be213edbc4f3b1e4452e5b7ce5e9378 (patch) | |
| tree | a6a66d408e68c9a1401cc729a72952ea8f200762 /megapixels/commands/datasets/file_record.py | |
| parent | a672dfdfdbac7cdac43e22c5d0bf29550770e2ad (diff) | |
updates for batch processing
Diffstat (limited to 'megapixels/commands/datasets/file_record.py')
| -rw-r--r-- | megapixels/commands/datasets/file_record.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/megapixels/commands/datasets/file_record.py b/megapixels/commands/datasets/file_record.py index b5daef4e..41a5df28 100644 --- a/megapixels/commands/datasets/file_record.py +++ b/megapixels/commands/datasets/file_record.py @@ -127,7 +127,7 @@ def cli(ctx, opt_fp_in, opt_fp_out, opt_dataset, opt_data_store, opt_dir_media, sha256 = file_utils.sha256(fp_im) im = Image.open(fp_im) im.verify() # throws error if bad file - assert(im.size[0] > 100 and im.size[1] > 100) + assert(im.size[0] > 60 and im.size[1] > 60) except Exception as e: log.warn(f'skipping file: {fp_im}') return None |
