- edited description
Extraction of data from Agfa digital mobile fails
Issue #281
resolved
c:\DJP\Sourcecode\python\openrem\testbed\issue248\Lib\site-packages\openrem\remapp\extractors>python dx.py c:\temp\Surveys\NGH\AgfaMobile1\56051C81 Traceback (most recent call last): File "dx.py", line 687, in <module> sys.exit(dx(sys.argv[1])) File "c:\DJP\Sourcecode\python\openrem\testbed\issue248\lib\site-packages\celery\local.py", line 167, in <lambda> __call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw) File "c:\DJP\Sourcecode\python\openrem\testbed\issue248\lib\site-packages\celery\app\task.py", line 420, in __call__ return self.run(*args, **kwargs) File "dx.py", line 674, in dx _dx2db(dataset) File "dx.py", line 608, in _dx2db _generalstudymoduleattributes(dataset,g) File "dx.py", line 515, in _generalstudymoduleattributes _projectionxrayradiationdose(dataset,g) File "dx.py", line 406, in _projectionxrayradiationdose _irradiationeventxraydata(dataset,proj) File "dx.py", line 337, in _irradiationeventxraydata event.image_view = get_or_create_cid(get_seq_code_value('ViewCodeSequence',dataset),get_seq_code_meaning('ViewCodeSequence',dataset)) File "c:\DJP\Sourcecode\python\openrem\testbed\issue248\Lib\site-packages\openrem\remapp\tools\get_values.py", line 78, in get_seq_code_value if hasattr(seq[0],'CodeValue'): IndexError: list index out of range
Comments (5)
-
reporter -
reporter This error presented itself when trying to import physics test images from a new system. It may be due to DICOM tag (0054,0220) being empty. I think the extractor needs to cope with this, but am not sure what to do about it at the moment.
-
Refs
#281@dplatten can you try this to see if it fixes it appropriately?→ <<cset 6c80c36a6fb1>>
-
- changed status to resolved
Confirmed fixed by @dplatten in commit comment
-
-
assigned issue to
- edited description
-
assigned issue to
- Log in to comment