Changeset 17180 for trunk/FACT++


Ignore:
Timestamp:
09/19/13 16:16:17 (11 years ago)
Author:
tbretz
Message:
Reverting to last revision.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/Observation_class.js

    r17174 r17180  
    5858        case 'DATA':
    5959            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");
    6161            if (ret[i].source == undefined)
    6262                throw new Error("Observation must have either 'source' or 'task' " +
     
    7979                                "if 'task' == 'ratescan'");
    8080            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
    8982        case 'SINGLEPE':
    9083        case 'DRSCALIB':
Note: See TracChangeset for help on using the changeset viewer.