Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/elyas/Escritorio/TFG/Neural/utils.py", line 44, in build_tensors

ConstPixelSpacing = (float(RefDs.PixelSpacing[0]), float(RefDs.PixelSpacing[1]), float(RefDs.SliceThickness))


 "/home/elyas/.local/lib/python3.6/site-packages/dicom/dataset.py", line 257, in __getattr__

"'{0:s}'.".format(name))
AttributeError: Dataset does not have attribute 'PixelSpacing'.

Traceback (most recent call last):


 "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest

self.test(*self.arg)


 "/home/tkloczko/rpmbuild/BUILD/arrow-0.15.6/tests/test_locales.py", line 580, in test_format_relative_future

result = self.locale._format_relative("1 ชั่วโมง", "hour", -1)
AttributeError: 'TestThaiLocale' object has no attribute 'locale'
