Changeset 7016 for trunk/psModules/src/astrom/pmFPAConceptsSet.c
- Timestamp:
- Apr 30, 2006, 3:08:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/astrom/pmFPAConceptsSet.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/pmFPAConceptsSet.c
r6872 r7016 249 249 // Now, need to get the "given"s 250 250 if (strlen(givenCols) || strlen(givenPS)) { 251 psList *cols = psStringSplit(givenCols, ",;" ); // List of column names252 psList *values = psStringSplit(givenPS, ",;" ); // List of value names for the columns251 psList *cols = psStringSplit(givenCols, ",;", true); // List of column names 252 psList *values = psStringSplit(givenPS, ",;", true); // List of value names for the columns 253 253 psMetadata *selection = psMetadataAlloc(); // The stuff to select in the DB 254 254 if (cols->n != values->n) { … … 617 617 // Check that it's the same value as stored in the camera 618 618 psString checkString = psMetadataLookupStr(NULL, cell->camera, "CELL.BIASSEC"); 619 psList *checkList = psStringSplit(checkString, " ;" );619 psList *checkList = psStringSplit(checkString, " ;", true); 620 620 if (biassecs->n != checkList->n) { 621 621 psError(PS_ERR_IO, true, "Target CELL.BIASSEC is specified by value, but number of " … … 663 663 } else if (strcasecmp(source, "HEADER") == 0) { 664 664 psString keywordsString = psMetadataLookupStr(NULL, cell->camera, "CELL.BIASSEC"); 665 psList *keywords = psStringSplit(keywordsString, " ,;" );665 psList *keywords = psStringSplit(keywordsString, " ,;", true); 666 666 if (biassecs->n != keywords->n) { 667 667 psError(PS_ERR_IO, true, "Target CELL.BIASSEC is sepcified by headers, but the number " … … 825 825 psMetadata *translation = psMetadataLookupMD(NULL, camera, "TRANSLATION"); 826 826 psString keywords = psMetadataLookupStr(NULL, translation, "CELL.TIME"); 827 psList *dateTimeKeywords = psStringSplit(keywords, " ,;" );827 psList *dateTimeKeywords = psStringSplit(keywords, " ,;", true); 828 828 psString dateKeyword = psListGet(dateTimeKeywords, PS_LIST_HEAD); 829 829 psString timeKeyword = psListGet(dateTimeKeywords, PS_LIST_TAIL); 830 830 831 psList *dateTime = psStringSplit(dateTimeString, " T" ); // Find the middle T831 psList *dateTime = psStringSplit(dateTimeString, " T", true); // Find the middle T 832 832 psString dateString = psListGet(dateTime, PS_LIST_HEAD); 833 833 psString timeString = psListGet(dateTime, PS_LIST_TAIL);
Note:
See TracChangeset
for help on using the changeset viewer.
