Closed demisjohn closed 4 years ago
If add a Layer, it should also check whether Image exists by running add_Images()
fixed in 28cd7a4c36b4de83dd05a9e7dc3d13a06f0aec86 - does NOT check for duplicates. Gets added to Job as soon as it's created, so no issue there I think.
should eliminate the need for
Job.add_Images
andJob.add_Layers
.Image
andLayer
should call this function themselves when Image is distributed, or Layer is exposed, and automatically avoid duplications.Instead, when user calls:
layer.distribute()
finishes by callingSo user doesn't have to do it.
Job.add_Layers
needs to also detect duplicates, eg.or use some smarter numpy search function, like
numpy.isin()