Changeset 32880
- Timestamp:
- Dec 7, 2011, 11:07:47 AM (15 years ago)
- Location:
- trunk/ippdor/src/ipp
- Files:
-
- 3 edited
-
CamManager.py (modified) (2 diffs)
-
constants/Camera.py (modified) (3 diffs)
-
constants/Chip.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdor/src/ipp/CamManager.py
r32874 r32880 95 95 (exp_tag, cam_id, camera, state, workdir, reduction, dvodb) = camera 96 96 if len(cameras) > 1: 97 body = CameraConstants. email_body_multiple_cam_entries% (self.label,97 body = CameraConstants.EMAIL_BODY_MULTIPLE_CAM_ENTRIES % (self.label, 98 98 self.exposure_name, 99 99 cam_id) … … 165 165 # Send e-mail to recipient 166 166 print 'Default for exposure [%s] at cam level' % (self.exposure_name) 167 body = CameraConstants. email_body_revert_failure% (self.exposure_name,167 body = CameraConstants.EMAIL_BODY_REVERT_FAILURE % (self.exposure_name, 168 168 self.label, 169 169 self.exposure_name) -
trunk/ippdor/src/ipp/constants/Camera.py
r32874 r32880 3 3 framework are defined for the Camera stage. 4 4 5 It defines the following data members: 6 TODO: list defined constants 5 It defines the following constants: 6 - REQUIREMENTS: The Condor requirements to run Cam jobs 7 - EMAIL_BODY_MULTIPLE_CAM_ENTRIES: The e-mail body when there is more 8 than one cam entry for one chip (Note: it seems it was useful when 9 chiptool has a bug but it seems to be fixed now (see svn log for 10 revision 32520)) 11 - EMAIL_BODY_REVERT_FAILURE: The e-mail body which is sent when revert 12 has failed 7 13 """ 8 14 from ipp.exceptions.UninstantiableIppException import UninstantiableIppException … … 19 25 REQUIREMENTS = GlobalConstants.REQUIREMENTS 20 26 21 email_body_multiple_cam_entries = """Hi, 27 # Body of the e-mail which is sent when there is more than one cam 28 # entry for one chip (Note: it seems it was useful when chiptool 29 # has a bug but it seems to be fixed now (see svn log for revision 30 # 32520)). 31 # It is expected to valuate this expression with 3 parameters: 32 # - #1: label (str) 33 # - #2: exposure name (str) 34 # - #3: cam_id (int) 35 EMAIL_BODY_MULTIPLE_CAM_ENTRIES = """Hi, 22 36 23 37 this is an e-mail generated by the ippdor subsystem. … … 31 45 Thanks, 32 46 """ 33 email_body_revert_failure = """Hi, 47 # Body of the e-mail which is sent when revert has failed. It is 48 # expected to valuate this expression with 3 parameters: 49 # - #1: exposure name (str) 50 # - #2: label (str) 51 # - #3: exposure name (str) 52 EMAIL_BODY_REVERT_FAILURE = """Hi, 34 53 35 54 this is an e-mail generated by the ippdor subsystem. -
trunk/ippdor/src/ipp/constants/Chip.py
r32879 r32880 9 9 - EMAIL_BODY_FAILED_REVERT: The e-mail body which is sent when revert 10 10 has failed 11 -11 12 12 """ 13 13 from ipp.exceptions.UninstantiableIppException import UninstantiableIppException
Note:
See TracChangeset
for help on using the changeset viewer.
