Changeset 35719 for branches/eam_branches/ipp-20130509
- Timestamp:
- Jun 28, 2013, 1:57:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/Ohana/src/addstar/src/resort_catalog.c
r34088 r35719 91 91 if (catalog[0].catformat >= DVO_FORMAT_PS1_V1) { 92 92 // earlier formats did not carry the objID or catID, so they are not available (we could assign on load, but we don't) 93 myAssert(average[averageSeq[i]].catID == measure[measureSeq[i]].catID, "object / detection mismatch"); 94 # if (1) 93 95 myAssert(average[averageSeq[i]].objID == measure[measureSeq[i]].objID, "object / detection mismatch"); 94 myAssert(average[averageSeq[i]].catID == measure[measureSeq[i]].catID, "object / detection mismatch"); 96 # else 97 // for reasons I do not understand, the mini dvodbs generated on stsci1X had a handful of detections with an inconsistency between averef and objID. 98 // this happened for 28 detections in the dbs on /data/stsci1?.0/eugene/dvo3pi.20130616, but not at all (as far as I know) in the rest of LAP DVO 99 if (average[averageSeq[i]].objID != measure[measureSeq[i]].objID) { 100 fprintf (stderr, "R"); 101 measure[measureSeq[i]].objID = average[averageSeq[i]].objID; // XXX I don't really like this... 102 } 95 103 } 104 # endif 96 105 } 97 106
Note:
See TracChangeset
for help on using the changeset viewer.
