Changeset 5462 for trunk/archive/scripts/src/phase2/pmFPAConstruct.c
- Timestamp:
- Nov 2, 2005, 3:30:32 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/scripts/src/phase2/pmFPAConstruct.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/scripts/src/phase2/pmFPAConstruct.c
r5371 r5462 37 37 psMetadataItem *item = NULL; // Item from iteration 38 38 while (item = psMetadataGetAndIncrement(iter)) { 39 if (item->type == PS_ META_MULTI || item->type == PS_META_META) {40 psLogMsg(__func__, PS_LOG_WARN, "PS_ META_MULTI and PS_META_META are not supported in a cell"41 " definition --- %s ignored.\n", item->name);39 if (item->type == PS_DATA_METADATA_MULTI || item->type == PS_DATA_METADATA) { 40 psLogMsg(__func__, PS_LOG_WARN, "PS_DATA_METADATA_MULTI and PS_DATA_METADATA are not supported " 41 "in a cell definition --- %s ignored.\n", item->name); 42 42 continue; 43 43 } … … 89 89 pmChip *chip = pmChipAlloc(fpa, extName); // The chip 90 90 chip->data = pmPixelDataAlloc(extName); // Prepare chip to receive FITS data 91 if (contentItem->type != PS_ META_STR) {91 if (contentItem->type != PS_DATA_STRING) { 92 92 psLogMsg(__func__, PS_LOG_WARN, "Type of content item (%x) is not string: ignored\n", 93 93 contentItem->type); … … 117 117 psTrace(__func__, 1, "Getting %s....\n", extName); 118 118 119 if (contentItem->type != PS_ META_STR) {119 if (contentItem->type != PS_DATA_STRING) { 120 120 psLogMsg(__func__, PS_LOG_WARN, "Type of content item (%x) is not string: ignored\n", 121 121 contentItem->type); … … 136 136 if (! chipItem) { 137 137 chip = pmChipAlloc(fpa, chipName); 138 psMetadataAdd(chips, PS_LIST_TAIL, chipName, PS_ META_CHIP, "", chip);138 psMetadataAdd(chips, PS_LIST_TAIL, chipName, PS_DATA_UNKNOWN, "", chip); 139 139 } else { 140 140 chip = psMemIncrRefCounter(chipItem->data.V); … … 161 161 psString chipName = contentItem->name; // The name of the chip 162 162 163 if (contentItem->type != PS_ META_STR) {163 if (contentItem->type != PS_DATA_STRING) { 164 164 psLogMsg(__func__, PS_LOG_WARN, "Type of content item (%x) is not string: ignored\n", 165 165 contentItem->type); … … 234 234 psString extName = contentItem->name; // The name of the extension 235 235 // Content is a cell type 236 if (contentItem->type != PS_ META_STR) {236 if (contentItem->type != PS_DATA_STRING) { 237 237 psLogMsg(__func__, PS_LOG_WARN, 238 238 "CONTENT metadata for extension %s is not of type string, but %x --- ignored\n",
Note:
See TracChangeset
for help on using the changeset viewer.
