Changeset 12840 for trunk/Ohana/src/addstar/src/ReadImageHeader.c
- Timestamp:
- Apr 17, 2007, 9:59:02 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/ReadImageHeader.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/ReadImageHeader.c
r12732 r12840 24 24 image[0].NY = Ny; 25 25 26 if (!gfits_scan (header, "TZERO", "%d", 1, &image[0].tzero) ) {26 if (!gfits_scan (header, "TZERO", "%d", 1, &image[0].tzero) && !ACCEPT_TIME) { 27 27 image[0].tzero = parse_time (header); 28 28 } … … 155 155 156 156 /* find expected number of stars */ 157 if (!gfits_scan (header, "NSTARS", "%d", 1, &image[0].nstar) ) {157 if (!gfits_scan (header, "NSTARS", "%d", 1, &image[0].nstar) && !NO_STARS) { 158 158 fprintf (stderr, "can't get NSTARS from header\n"); 159 159 return (FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.
