You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some DICOM sequences i have gotten here there doesn't seem a proper spacing information available (or it's stored differently), causing the "spacing" variable to be null, resulting in an import failure without clear error message.
The console shows:
RAM_FREE= 73786998784
RAM_TOTAL= 137357676544
Traceback (most recent call last):
File "invesalius\gui\import_panel.py", line 165, in OnDblClickTextPanel
File "invesalius\gui\import_panel.py", line 188, in LoadDicom
File "invesalius\pubsub\pub.py", line 74, in sendMessage
File "pubsub\core\publisher.py", line 216, in sendMessage
topicObj.publish(**msgData)
File "pubsub\core\topicobj.py", line 452, in publish
self.__sendMessage(msgData, topicObj, msgDataSubset)
File "pubsub\core\topicobj.py", line 482, in __sendMessage
listener(data, self, allData)
File "pubsub\core\listener.py", line 237, in call
cb(**kwargs)
File "invesalius\control.py", line 909, in OnOpenDicomGroup
File "invesalius\control.py", line 998, in OpenDicomGroup
UnboundLocalError: local variable 'spacing' referenced before assignment
For some DICOM sequences i have gotten here there doesn't seem a proper spacing information available (or it's stored differently), causing the "spacing" variable to be null, resulting in an import failure without clear error message.
The console shows:
code in question seems to be here:
invesalius3/invesalius/control.py
Line 992 in 66b749f
The text was updated successfully, but these errors were encountered: