Changeset 17180 for trunk/FACT++
- Timestamp:
- 09/19/13 16:16:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Observation_class.js
r17174 r17180 58 58 case 'DATA': 59 59 if (i!=obj.measurements.length-1) 60 throw new Error("DATA [n="+i+", "+utc.toUTCString()+"] must be the last in the list of measurements [cnt="+obj.measurements.length+"]");60 throw new Error("DATA must be the last in the list of measurements"); 61 61 if (ret[i].source == undefined) 62 62 throw new Error("Observation must have either 'source' or 'task' " + … … 79 79 "if 'task' == 'ratescan'"); 80 80 break; 81 /* 82 case 'FEEDBACK-TEST': 83 if (ret[i].source == undefined && (ret[i].ra == undefined || ret[i].dec == undefined)) 84 throw new Error("Observation must have either 'source' or 'ra' & 'dec' " + 85 "if 'task' == 'ratescan'"); 86 break; 87 */ 88 //case 'SINGLEPE-TEST': 81 89 82 case 'SINGLEPE': 90 83 case 'DRSCALIB':
Note:
See TracChangeset
for help on using the changeset viewer.