def setup_debug_folder(self):
        if self.produce_output:
            import time
            from sct_utils import slash_at_the_end
            folder = slash_at_the_end('scad_output_'+time.strftime("%y%m%d%H%M%S"), 1)
            sct.run('mkdir '+folder, self.verbose)
            self.debug_folder = os.path.abspath(folder)
            conv.convert(str(self.input_image.absolutepath), str(self.debug_folder)+"/raw.nii.gz")
Sets up the folder for the step by step files for this algorithm
dataset/ETHPy150Open neuropoly/spinalcordtoolbox/dev/sct_detect_spinalcord/sct_detect_spinalcord.py/SCAD.setup_debug_folder