We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2121f5e commit 7eca54dCopy full SHA for 7eca54d
src/python/pycold/imagetool/tile_processing.py
@@ -240,11 +240,11 @@ def get_stack_date(
240
]
241
if low_datebound > 0:
242
img_dates, img_files = zip(
243
- *filter(lambda x: x[0] >= low_datebound, zip(img_dates, img_files))
+ *filter(lambda x: x[0] >= low_datebound, zip(tuple(img_dates), tuple(img_files)))
244
)
245
if high_datebound > 0:
246
247
- *filter(lambda x: x[0] <= high_datebound, zip(img_dates, img_files))
+ *filter(lambda x: x[0] <= high_datebound, zip(tuple(img_dates), tuple(img_files)))
248
249
files_date_zip = sorted(zip(img_dates, img_files))
250
img_files_sorted = [x[1] for x in files_date_zip]
0 commit comments