Changeset 25270
- Timestamp:
- Sep 4, 2009, 11:07:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/ppSim/src/ppSimLoop.c
r24486 r25270 30 30 ppSimType type = ppSimTypeFromString (typeStr); // Type of image to simulate 31 31 int binning = psMetadataLookupS32(NULL, recipe, "BINNING"); // Binning in x and y 32 33 ppSimUpdateConceptsFPA (fpa, config); 34 if (fpa->hdu) { // XXX only do this if there is no INPUT image 35 if (!ppSimInitHeader(config, fpa, NULL, NULL)) ESCAPE (PS_ERR_UNKNOWN, "problem setting output header"); 36 } 32 37 33 38 psArray *stars = psArrayAllocEmpty (1); … … 57 62 psFree(view); 58 63 return false; 59 }60 61 ppSimUpdateConceptsFPA (fpa, config);62 if (fpa->hdu) { // XXX only do this if there is no INPUT image63 if (!ppSimInitHeader(config, fpa, NULL, NULL)) ESCAPE (PS_ERR_UNKNOWN, "problem setting output header");64 64 } 65 65
Note:
See TracChangeset
for help on using the changeset viewer.
