Description
Currently mipp loader is logging if one of the image segments is missing and throwing an error if there are no segments at all.
That kinda makes sense because we can create the image with missing segments but in my case, I would like to know if the image is created with all segments or not.
I'm not that familiar with this library so I don't know if there is an easy way to do it, but one of these two places would be probably nice to implement this change ( if this change makes sense at all? )
here we could throw an error (but that would break the functionality to create the image with missing segments , maybe optional error ? )
Lines 387 to 395 in 856e347
here we also have everything we need to check if we have all segments or not:
- len(image_files)
- im.segment.planned_start_seg_no
- im.segment.planned_end_seg_no
Lines 857 to 860 in f8589df
Does this makes sense ?
Thank you for your help