Ticket #9117: ignore_not_defined_detector.patch
File ignore_not_defined_detector.patch, 1.3 KB (added by Gesner Passos, 7 years ago) |
---|
-
Code/Mantid/scripts/Calibration/tube_spec.py
diff --git a/Code/Mantid/scripts/Calibration/tube_spec.py b/Code/Mantid/scripts/Calibration/tube_spec.py index 26adea1..a07ec47 100644
a b class TubeSpec: 333 333 startDet = firstDet 334 334 if( numDet > 0): 335 335 for i in range (0, self.ws.getNumberHistograms(), numDet): 336 deti = self.ws.getDetector(i) 336 try: 337 deti = self.ws.getDetector(i) 338 except: continue 337 339 detID = deti.getID() 338 340 if (detID >= startDet and detID < startDet+numDet): 339 341 iPixel = detID - firstDet