Skip to content

loading 'detector config file' again failed. #7

@zhanzhang3

Description

@zhanzhang3

On the GUI interface, after all the field filled in, if I reload the "detector config file", either a different one or the same one, I got the following error before program terminated:

NoneType: None
Traceback (most recent call last):
File "C:\Users\zhanzhang\AppData\Local\anaconda3\envs\rsmap3d\Lib\site-packages\rsMap3D\gui\input\usesxmldetectorconfig.py", line 138, in _currentDetectorChanged
self.updateROIandNumAvg()
File "C:\Users\zhanzhang\AppData\Local\anaconda3\envs\rsmap3d\Lib\site-packages\rsMap3D\gui\input\usesxmldetectorconfig.py", line 293, in updateROIandNumAvg
detector = self.detConfig.getDetectorById(str(self.currentDetector))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\zhanzhang\AppData\Local\anaconda3\envs\rsmap3d\Lib\site-packages\rsMap3D\datasource\DetectorGeometry\detectorgeometrybase.py", line 79, in getDetectorById
raise DetectorConfigException("Detector " +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rsMap3D.exception.rsmap3dexception.DetectorConfigException: Detector not found in detector config file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions