Closed lizeyuyuz closed 8 years ago
Or should we simply leave file loading for the execution part?
def get_n_volx(f1): img = nib.load('../../data/' + f1 + '.nii.gz') data = img.get_data() return data.shape[-1]
Or should we simply leave file loading for the execution part?