paulscherrerinstitute / scilog

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Fix error when removing empty subsnippets #358

Closed minottic closed 7 months ago

minottic commented 7 months ago

Given that the array is mutable and that its lenght is changed recursively, the index passed during recursion would not get the value consistently. For this reason the index is lookedup from the array using the snippet ID