IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 7:16:10 AM (11 years ago)
Author:
eugene
Message:

replace assert with psAssert in cases where the value is otherwise unused; do not raise an error when looking for classID in detloc which is not found; add galaxy shape error propagation failure flags to pmModelStatus; read EXT_WIDTH_MAJ_ERR et al back into dPAR[SXX,etc] (careful: this only works if not real errors); read SKY_EXT in PAR[SKY]; use header for FWHM_MAJ if not found on readout->analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDetrendDB.c

    r37837 r38038  
    356356    psTrace("psModules.detrend", 5, "detrend file: %s\n", result);
    357357
     358    // XXX: A somewhat hacked bit of code to force the analysis to use a specific version of the detrend file
    358359    char *is_nebulous = strstr(result,"neb://");
    359360    if (is_nebulous) { // This file matches the nebulous string
    360361      psString truncated = psStringCopy(is_nebulous + 6);
    361362      //      printf("A: %s %s\n",result,truncated);
     363
    362364      psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes,"PPIMAGE");
    363       psMetadata *detloc = psMetadataLookupMetadata(NULL, recipe, "DETREND.LOCATIONS");
     365      psMetadata *detloc = psMetadataLookupMetadata(&status, recipe, "DETREND.LOCATIONS");
     366
    364367      if (detloc) { // This exists, so we have the information.
    365         psString location = psMetadataLookupStr(NULL, detloc,classID);
     368        psString location = psMetadataLookupStr(&status, detloc, classID);
    366369        //      printf("B: %s %s\n", classID,location);
    367370        if (location) { // Found a location
Note: See TracChangeset for help on using the changeset viewer.