Changeset 27496
- Timestamp:
- Mar 28, 2010, 1:17:56 PM (16 years ago)
- Location:
- branches/eam_branches/relastro.20100326
- Files:
-
- 3 edited
-
include/relastro.h (modified) (1 diff)
-
src/ImageOps.c (modified) (6 diffs)
-
src/args.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relastro.20100326/include/relastro.h
r27489 r27496 91 91 92 92 int VERBOSE; 93 int VERBOSE2; 93 94 94 95 int RESET; -
branches/eam_branches/relastro.20100326/src/ImageOps.c
r27490 r27496 163 163 } 164 164 165 for (i = 0; VERBOSE && (i < Nimage); i++) {165 for (i = 0; VERBOSE2 && (i < Nimage); i++) { 166 166 name = GetPhotcodeNamebyCode (image[i].photcode); 167 167 fprintf (stderr, "image %lld has %lld measures (%s, %s)\n", (long long) i, (long long) Nlist[i], … … 183 183 idx = getImageByID (ID); 184 184 if (idx == -1) { 185 fprintf (stderr, "can't match detection to image?\n");186 abort();185 if (VERBOSE2) fprintf (stderr, "can't match detection to image?\n"); 186 return; 187 187 } 188 188 … … 257 257 return; 258 258 } 259 fprintf (stderr, "can't match detection to image?\n");260 abort();259 if (VERBOSE2) fprintf (stderr, "can't match detection to image?\n"); 260 return; 261 261 } 262 262 # endif … … 429 429 if (!badCoords(im)) { 430 430 fprintf (stderr, "ERROR: inconsistent result?"); 431 exit (1);431 abort(); 432 432 } 433 433 … … 500 500 if (mosaic == NULL) { 501 501 fprintf (stderr, "mosaic not found for image %s\n", image[im].name); 502 exit (1);502 abort(); 503 503 } 504 504 moscoords = &mosaic[0].coords; … … 575 575 if (mosaic == NULL) { 576 576 fprintf (stderr, "mosaic not found for image %s\n", image[im].name); 577 exit (1);577 abort (); 578 578 } 579 579 moscoords = &mosaic[0].coords; -
branches/eam_branches/relastro.20100326/src/args.c
r24308 r27496 111 111 } 112 112 113 VERBOSE = FALSE;113 VERBOSE = VERBOSE2 = FALSE; 114 114 if ((N = get_argument (argc, argv, "-v"))) { 115 115 VERBOSE = TRUE; 116 remove_argument (N, &argc, argv); 117 } 118 if ((N = get_argument (argc, argv, "-vv"))) { 119 VERBOSE = VERBOSE2 = TRUE; 116 120 remove_argument (N, &argc, argv); 117 121 }
Note:
See TracChangeset
for help on using the changeset viewer.
