Changeset 11801 for trunk/psModules/src/camera/pmFPAfileFitsIO.c
- Timestamp:
- Feb 14, 2007, 2:51:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileFitsIO.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileFitsIO.c
r11793 r11801 23 23 PS_ASSERT_PTR_NON_NULL(view, NULL); 24 24 25 if ( file->camera == config->camera || // Need to mosaic, not copy25 if (//file->camera == config->camera || // Need to mosaic, not copy 26 26 !file->format) { // Working with the same output format as input format 27 27 return psMemIncrRefCounter(file->fpa); … … 50 50 } 51 51 52 if (!pmFPAAddSourceFromView(fpa, phuView, file->format)) { 52 pmFPA *nameSource = file->src; // Source of FPA.NAME 53 if (!nameSource) { 54 nameSource = file->fpa; 55 } 56 bool mdok; // Status of MD lookup 57 const char *fpaname = psMetadataLookupStr(&mdok, nameSource->concepts, "FPA.NAME"); // Name of FPA 58 59 if (!pmFPAAddSourceFromView(fpa, fpaname, phuView, file->format)) { 53 60 psError(PS_ERR_UNKNOWN, false, "Unable to insert HDU into FPA for writing.\n"); 54 61 psFree(fpa);
Note:
See TracChangeset
for help on using the changeset viewer.
