Support for RDSR format from Ziehm Vision RFD 3D C-Arm
Modality supports RDSR, but on import I get the following error:
Traceback (most recent call last): File "/usr/local/bin/openrem_rdsr.py", line 23, in <module> rdsr(filename) File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 191, in __call__ return self._get_current_object()(*a, **kw) File "/usr/local/lib/python2.7/dist-packages/celery/app/task.py", line 379, in __call__ return self.run(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/rdsr.py", line 996, in rdsr _rsdr2db(dataset) File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/rdsr.py", line 946, in _rsdr2db _generalstudymoduleattributes(dataset, g, ch) File "/usr/local/lib/python2.7/dist-packages/openrem/remapp/extractors/rdsr.py", line 907, in _generalstudymoduleattributes if dataset.ContentTemplateSequence[0].TemplateIdentifier == '10001': File "/usr/local/lib/python2.7/dist-packages/dicom/dataset.py", line 256, in __getattr__ "'{0:s}'.".format(name)) AttributeError: Dataset does not have attribute 'ContentTemplateSequence'.
Modality details: https://www.ziehm.com/us/products/ziehm-vision-rfd-3d/
Comments (9)
-
-
reporter ouwch.. should have checked that myself, sorry.
I'll leave this issue open though for improvement of exception handling. -
Hi @tcdewit - it really does look like that RDSR might have been truncated - can you check another one to see if it is the same?
-
reporter Just checked another patient and same thing there...
-
You might want to log that with Ziehm as the DICOM conformance statement suggests that there should be an RDSR available for that model.
-
reporter I did.. no response yet.
-
Tests for template in RDSR, exits gracefully with error logged if not found. Refs
#499→ <<cset 23a5cd8b8632>>
-
- changed status to resolved
Changes updated, and fixes
#499→ <<cset 690268a1e433>>
-
-
assigned issue to
- changed milestone to 0.8.0
-
assigned issue to
- Log in to comment
Tim,
The DICOM object doesn't contain any dose information. Was the procedure aborted? A dump with dsrdump (offis) only reveals the following information in the (invalid) object:
A dcmdump (tag level information) confirms that it only contains the above information. I think the code should be changed to recover from the error, but an import will be impossible.