-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:1
Calling drp.stella.utils.display.showDetectorMap() fails as follows:
---> 10 showDetectorMap(display=disp, detMap=detMap, pfsConfig=pfsConfig)
/tigress/hassans/software/drp_stella/python/pfs/drp/stella/utils/display.py in showDetectorMap(display, pfsConfig, detMap, width, zoom, xc, fiberIds, lines)
241 ls = '-'
242 if fid in pfsConfig.fiberId:
--> 243 ind = pfsConfig.selectFiber(fid)[0]
244 imagingFiber = pfsConfig.targetType[ind] == TargetType.SUNSS_IMAGING
245 if pfsConfig.fiberStatus[ind] == FiberStatus.BROKENFIBER:
TypeError: 'int' object is not subscriptable