IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10975


Ignore:
Timestamp:
Jan 8, 2007, 2:58:58 PM (19 years ago)
Author:
Paul Price
Message:

Simplifying small elements of code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r10856 r10975  
    3131
    3232    if (!strcasecmp (breakPt, "NOTHING")) {
    33         if (!psphotReadoutCleanup (config, readout, recipe, NULL, NULL)) return false;
    34         return true;
     33        return psphotReadoutCleanup(config, readout, recipe, NULL, NULL);
    3534    }
    3635
     
    3938
    4039    if (!strcasecmp (breakPt, "BACKMDL")) {
    41         if (!psphotReadoutCleanup (config, readout, recipe, NULL, NULL)) return false;
    42         return true;
     40        return psphotReadoutCleanup (config, readout, recipe, NULL, NULL);
    4341    }
    4442
     
    5452
    5553    if (!strcasecmp (breakPt, "PEAKS")) {
    56         if (!psphotReadoutCleanup (config, readout, recipe, NULL, sources)) return false;
    57         return true;
     54        return psphotReadoutCleanup(config, readout, recipe, NULL, sources);
    5855    }
    5956
     
    7471
    7572    if (!strcasecmp (breakPt, "MOMENTS")) {
    76         if (!psphotReadoutCleanup (config, readout, recipe, NULL, sources)) return false;
    77         return true;
     73        return psphotReadoutCleanup(config, readout, recipe, NULL, sources);
    7874    }
    7975
     
    8985
    9086    if (!strcasecmp (breakPt, "PSFMODEL")) {
    91         if (!psphotReadoutCleanup (config, readout, recipe, psf, sources)) return false;
    92         return true;
     87        return psphotReadoutCleanup(config, readout, recipe, psf, sources);
    9388    }
    9489
     
    106101    // next steps:
    107102    // remeasure the sky after objects have been subrtracted
    108     // re-find the peaks. 
    109     // re-run ensemble fit 
     103    // re-find the peaks.
     104    // re-run ensemble fit
    110105
    111106    // XXX this was an attempt to measure bias due to the weighting.
     
    149144
    150145    // create the exported-metadata and free local data
    151     if (!psphotReadoutCleanup (config, readout, recipe, psf, sources)) return false;
    152     return true;
     146    return psphotReadoutCleanup(config, readout, recipe, psf, sources);
    153147}
    154148
Note: See TracChangeset for help on using the changeset viewer.