blik creates new layers by using the napari LayerDataTuple approach, which allows updating existing layers inplace. This is good for example for rerunning particle generation without cluttering the viewer with old bad layers. However, particles generated with different methods are probably intended to live in different layers. This PR ensures they are named differently so they don't clash (and cause index errors as well...)
blik creates new layers by using the napari
LayerDataTuple
approach, which allows updating existing layers inplace. This is good for example for rerunning particle generation without cluttering the viewer with old bad layers. However, particles generated with different methods are probably intended to live in different layers. This PR ensures they are named differently so they don't clash (and cause index errors as well...)