fix normlisation bug
@@ -9,7 +9,6 @@ import os
import scipy.ndimage as ndimg
from scipy.ndimage.morphology import binary_fill_holes as fill_holes
import utilities.constraints_classes as cc
-from utilities.subject import MultiModalFileList
import utilities.misc_csv as misc_csv
from scipy.signal import argrelextrema
from shutil import copyfile
@@ -64,8 +63,7 @@ def create_database_perc_multimod_arrayfiles(mask_type,
for p in array_files:
#for i in range(0, 10):
#p = array_files[i]
- input_files = MultiModalFileList(p)
- img_data = io.prepare_5d_data(input_files)
+ img_data = io.prepare_5d_data(p)
numb_modalities = img_data.shape[3]
numb_timepoints = img_data.shape[4]
if list_modalities is None:
