Closed marxide closed 2 years ago
Interesting question of whether 'empty' images should be ingested in the first place.
I think the answer is yes? For the forced fitting and new source bits, but when I first saw this I did wonder for a minute.
Yes I think they should for the reasons you mentioned.
Encountered an exception for a run that contains some empty catalogues (see below). The function
vast_pipeilne.pipeline.forced_extraction.get_data_from_parquet
attempts to determine the next vallid island ID number as +1 the existing maximum ID. For an empty catalogue, the lookup for the existing max ID raises an IndexError.