I tried running this script using sct_run_batch alongside the data you shared, but it gave me an error saying that I was missing the create_right_left_seg_mask.py script.
Other than that, there seem to be no errors. So, just to clarify: Is the main issue you’re asking about just the “identifying compression” issue that you described in your most recent email? (In other words, have your other questions been resolved?)
Correct, not sure if the identification of the compression command was correct. Can you please share the output file you got from the sct_compute_compression command?