processpar.log 2.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. 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).
  2. * deprecated from version: 3.0
  3. * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
  4. realAraImg = araDataTemplate.get_data()
  5. 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).
  6. * deprecated from version: 3.0
  7. * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
  8. maskImg = maskData.get_data()
  9. 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).
  10. * deprecated from version: 3.0
  11. * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
  12. volumeAnno = np.round(dataAnno.get_data())
  13. 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).
  14. * deprecated from version: 3.0
  15. * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
  16. volumeMR = dataMR.get_data()
  17. 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).
  18. * deprecated from version: 3.0
  19. * Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
  20. betMaskImg = betMask.get_data()
  21. '1' folder will be proccessed...
  22. Traceback (most recent call last):
  23. File "getIncidenceSize_par.py", line 257, in <module>
  24. incidenceMap(regMR_list,regInc_list,regANNO_list,araDataTemplate,incidenceMask,thres,outfile,labels)
  25. File "getIncidenceSize_par.py", line 158, in incidenceMap
  26. labMat = np.stack((labMat, regionAffectPercent))
  27. File "<__array_function__ internals>", line 6, in stack
  28. File "/opt/env/lib/python3.7/site-packages/numpy/core/shape_base.py", line 426, in stack
  29. raise ValueError('all input arrays must have the same shape')
  30. ValueError: all input arrays must have the same shape