One of my colleagues accidentally specified very few num_slices (100), and the error was very non-intuitive:
z, y, x = self.coords[tomo_index][coord_index]
IndexError: index 1 is out of bounds for axis 0 with size 1
I added a print statement showing the length of self.coords, and the length seemed to be num_slices * split. Is that correct, and if so, why would the number of extracted subtomos be equal to the number of slices (ignoring split)?
One of my colleagues accidentally specified very few
num_slices(100), and the error was very non-intuitive:I added a print statement showing the length of self.coords, and the length seemed to be
num_slices * split. Is that correct, and if so, why would the number of extracted subtomos be equal to the number of slices (ignoring split)?