Skip to content
Snippets Groups Projects
Commit 1aec5bfd authored by Anton Piccardo-Selg's avatar Anton Piccardo-Selg
Browse files

Refs #13487 Fix main and hab for detector in user file

parent e56b589a
No related branches found
No related tags found
No related merge requests found
......@@ -2248,8 +2248,9 @@ class UserFile(ReductionStep):
self._readDetectorCorrections(upper_line[8:], reducer)
elif det_specif.startswith('RESCALE') or det_specif.startswith('SHIFT'):
self._readFrontRescaleShiftSetup(det_specif, reducer)
elif any(it == det_specif.strip() for it in ['FRONT','REAR','BOTH','MERGE','MERGED']):
elif any(it == det_specif.strip() for it in ['FRONT','REAR','BOTH','MERGE','MERGED', 'MAIN', 'HAB']):
# for /DET/FRONT, /DET/REAR, /DET/BOTH, /DET/MERGE and /DET/MERGED commands
# we also accomodate DET/MAIN and DET/HAB here which are specificially for LOQ
det_specif = det_specif.strip()
if det_specif == 'MERGE':
det_specif = 'MERGED'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment