Changeset 38038 for trunk/psModules/src/detrend/pmDetrendDB.c
- Timestamp:
- Mar 28, 2015, 7:16:10 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmDetrendDB.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmDetrendDB.c
r37837 r38038 356 356 psTrace("psModules.detrend", 5, "detrend file: %s\n", result); 357 357 358 // XXX: A somewhat hacked bit of code to force the analysis to use a specific version of the detrend file 358 359 char *is_nebulous = strstr(result,"neb://"); 359 360 if (is_nebulous) { // This file matches the nebulous string 360 361 psString truncated = psStringCopy(is_nebulous + 6); 361 362 // printf("A: %s %s\n",result,truncated); 363 362 364 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes,"PPIMAGE"); 363 psMetadata *detloc = psMetadataLookupMetadata(NULL, recipe, "DETREND.LOCATIONS"); 365 psMetadata *detloc = psMetadataLookupMetadata(&status, recipe, "DETREND.LOCATIONS"); 366 364 367 if (detloc) { // This exists, so we have the information. 365 psString location = psMetadataLookupStr( NULL, detloc,classID);368 psString location = psMetadataLookupStr(&status, detloc, classID); 366 369 // printf("B: %s %s\n", classID,location); 367 370 if (location) { // Found a location
Note:
See TracChangeset
for help on using the changeset viewer.
