IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2007, 3:24:59 PM (19 years ago)
Author:
eugene
Message:

fixed errors with pmImageDefineFile for DetDB queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppFocusParseCamera.c

    r13528 r13562  
    2525    // not all input or output images are used in a given recipe
    2626    if (options->doBias) {
    27         if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.BIAS", "BIAS", PM_FPA_FILE_IMAGE)) {
     27        if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.BIAS", "BIAS", PM_FPA_FILE_IMAGE, PM_DETREND_TYPE_BIAS)) {
    2828            psError (PS_ERR_IO, false, "Can't find a bias image source");
    2929            return NULL;
     
    3131    }
    3232    if (options->doDark) {
    33         if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.DARK", "DARK", PM_FPA_FILE_IMAGE)) {
     33        if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.DARK", "DARK", PM_FPA_FILE_IMAGE, PM_DETREND_TYPE_DARK)) {
    3434            psError (PS_ERR_IO, false, "Can't find a dark image source");
    3535            return NULL;
     
    3737    }
    3838    if (options->doMask) {
    39         if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.MASK", "MASK", PM_FPA_FILE_MASK)) {
     39        if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.MASK", "MASK", PM_FPA_FILE_MASK, PM_DETREND_TYPE_MASK)) {
    4040            psError (PS_ERR_IO, false, "Can't find a mask image source");
    4141            return NULL;
     
    4343    }
    4444    if (options->doFlat) {
    45         if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.FLAT", "FLAT", PM_FPA_FILE_IMAGE)) {
     45        if (!ppImageDefineFile (config, input->fpa, "PPIMAGE.FLAT", "FLAT", PM_FPA_FILE_IMAGE, PM_DETREND_TYPE_FLAT)) {
    4646            psError (PS_ERR_IO, false, "Can't find a shutter image source");
    4747            return NULL;
Note: See TracChangeset for help on using the changeset viewer.