IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2009, 9:35:41 AM (17 years ago)
Author:
bills
Message:

Changed the way image ids are handled. For chip and warp new tables are
added the sole purpose of which are to create the image ids before
the images are created. For diff the id is added to diffInputSkyfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptool.c

    r20973 r21308  
    485485                                   path_base,
    486486                                   code,
    487                                    0,   // chip_image_id
    488487                                   0    // magic_ds_id
    489488            )) {
     
    530529    pxchipGetSearchArgs (config, where); // chipRun, chipProcessedImfile, rawExp
    531530    PXOPT_COPY_S64(config->args, where, "-chip_id", "chipRun.chip_id", "==");
     531    PXOPT_COPY_S64(config->args, where, "-chip_imfile_id", "chipImfile.chip_imfile_id", "==");
    532532    PXOPT_COPY_STR(config->args, where, "-class_id", "chipProcessedImfile.class_id", "==");
    533533    PXOPT_COPY_STR(config->args, where, "-reduction", "chipRun.reduction", "==");
     
    542542    if (where && psListLength(where->list)) {
    543543        psString whereClause = psDBGenerateWhereConditionSQL(where, NULL);
    544         psStringAppend(&query, " AND %s", whereClause);
     544        psStringAppend(&query, " WHERE %s", whereClause);
    545545        psFree(whereClause);
    546546    }
Note: See TracChangeset for help on using the changeset viewer.