- Timestamp:
- Sep 15, 2009, 4:02:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/magic/remove/src/streakscompare.c
r21156 r25406 5 5 int main(int argc, char *argv[]) 6 6 { 7 long i;8 7 bool status; 9 8 … … 35 34 int numErrors = 0; 36 35 for (int component = 0; component < ncomponents; component++) { 37 if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 36 if (component && !(psFitsMoveExtNum(file1->fits, 1, true) 38 37 && psFitsMoveExtNum(file2->fits, 1, true))) { 39 38 streaksExit("failed to advance to next extesion\n", PS_EXIT_DATA_ERROR); … … 45 44 psImage *image2 = file2->image; 46 45 47 // TODO: do more sanity checking. For example check that extname's (if any) match 46 // TODO: do more sanity checking. For example check that extname's (if any) match 48 47 // check for matching image cubes 49 48 if (image1 && image2) { … … 68 67 error = ! isnan(value1) && isnan(value2); 69 68 } 70 69 71 70 if (error) { 72 71 numErrors++;
Note:
See TracChangeset
for help on using the changeset viewer.
