getIncidenceSize_par.py:85: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj). * deprecated from version: 3.0 * Will raise as of version: 5.0 realAraImg = araDataTemplate.get_data() getIncidenceSize_par.py:92: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj). * deprecated from version: 3.0 * Will raise as of version: 5.0 maskImg = maskData.get_data() getIncidenceSize_par.py:99: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj). * deprecated from version: 3.0 * Will raise as of version: 5.0 volumeAnno = np.round(dataAnno.get_data()) getIncidenceSize_par.py:101: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj). * deprecated from version: 3.0 * Will raise as of version: 5.0 volumeMR = dataMR.get_data() getIncidenceSize_par.py:137: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj). * deprecated from version: 3.0 * Will raise as of version: 5.0 betMaskImg = betMask.get_data() '1' folder will be proccessed... Traceback (most recent call last): File "getIncidenceSize_par.py", line 257, in incidenceMap(regMR_list,regInc_list,regANNO_list,araDataTemplate,incidenceMask,thres,outfile,labels) File "getIncidenceSize_par.py", line 158, in incidenceMap labMat = np.stack((labMat, regionAffectPercent)) File "<__array_function__ internals>", line 6, in stack File "/opt/env/lib/python3.7/site-packages/numpy/core/shape_base.py", line 426, in stack raise ValueError('all input arrays must have the same shape') ValueError: all input arrays must have the same shape