Trying to fix some header issues arising from copying the header from the input tomogram.
Particularly, I'm only copying the labels from the original header, and the voxel size. Also, I changed the order of header declaration and setting the data, s.t. the automated header settings from setting the data will not be overwritten.
Also changed a small bug in reading the .csv file for extracting annotation patches.
Trying to fix some header issues arising from copying the header from the input tomogram.
Particularly, I'm only copying the labels from the original header, and the voxel size. Also, I changed the order of header declaration and setting the data, s.t. the automated header settings from setting the data will not be overwritten.
Also changed a small bug in reading the .csv file for extracting annotation patches.