return None
interp_order = tuple(data_param[mod].interp_order
for mod in modalities)
pixdim = tuple(data_param[mod].pixdim for mod in modalities)
axcodes = tuple(data_param[mod].axcodes for mod in modalities)
loader = tuple(data_param[mod].loader for mod in modalities)
except KeyError:
tf.logging.fatal(
After Change
// ("testT1.nii.gz", "testT2.nii.gz", nan, "testFlair.nii.gz")
return None
interp_order, pixdim, axcodes, loader = [], [], [], []
for mod in modalities:
try:
interp_order.append(data_param[mod].interp_order)
except AttributeError: