IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2010, 9:31:50 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/eam_branches/ipp-20100621/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/ippTools/src

    • Property svn:ignore
      •  

        old new  
        3939warptool
        4040staticskytool
        41 
         41bgtool
        4242diffphottool
  • branches/eam_branches/ipp-20100621/ippTools/src/magicdstool.c

    r27786 r28794  
    122122    PXOPT_COPY_S64(config->args, where, "-exp_id",  "exp_id", "==");
    123123    PXOPT_COPY_S64(config->args, where, "-chip_id", "chip_id", "==");
     124    PXOPT_COPY_S64(config->args, where, "-chip_bg_id", "chip_bg_id", "==");
    124125    PXOPT_COPY_S64(config->args, where, "-cam_id",  "cam_id", "==");
    125126    PXOPT_COPY_S64(config->args, where, "-warp_id", "warp_id", "==");
     127    PXOPT_COPY_S64(config->args, where, "-warp_bg_id", "warp_bg_id", "==");
    126128    PXOPT_COPY_S64(config->args, where, "-diff_id", "diff_id", "==");
    127129    PXOPT_COPY_S64(config->args, where, "-magic_id","magicRun.magic_id", "==");
     
    140142        query = pxDataGet("magicdstool_definebyquery_chip.sql");
    141143        break;
     144    case IPP_STAGE_CHIP_BG:
     145        query = pxDataGet("magicdstool_definebyquery_chip_bg.sql");
     146        break;
    142147    case IPP_STAGE_CAMERA:
    143148        query = pxDataGet("magicdstool_definebyquery_camera.sql");
     
    145150    case IPP_STAGE_WARP:
    146151        query = pxDataGet("magicdstool_definebyquery_warp.sql");
     152        break;
     153    case IPP_STAGE_WARP_BG:
     154        query = pxDataGet("magicdstool_definebyquery_warp_bg.sql");
    147155        break;
    148156    case IPP_STAGE_DIFF:
     
    720728        query = "UPDATE chipProcessedImfile SET magicked = %" PRId64 " where chip_id = %" PRId64 " AND class_id = '%s'";
    721729        break;
     730    case IPP_STAGE_CHIP_BG:
     731        query = "UPDATE chipBackgroundImfile SET magicked = %" PRId64 " where chip_bg_id = %" PRId64 " AND class_id = '%s'";
     732        break;
    722733    case IPP_STAGE_CAMERA:
    723734        // no there is no magicked column in camProcessedExp so we have nothing to do
     
    727738        query = "UPDATE warpSkyfile SET magicked = %" PRId64 " where warp_id = %" PRId64 " AND skycell_id = '%s'";
    728739        break;
     740    case IPP_STAGE_WARP_BG:
     741        query = "UPDATE warpBackgroundSkyfile SET magicked = %" PRId64 " where warp_bg_id = %" PRId64 " AND skycell_id = '%s'";
     742        break;
    729743    case IPP_STAGE_DIFF:
    730744        query = "UPDATE diffSkyfile SET magicked = %" PRId64 " where diff_id = %" PRId64 " AND skycell_id = '%s'";
     
    794808        query = "UPDATE chipRun SET magicked = %" PRId64 " where chip_id = %" PRId64;
    795809        break;
     810    case IPP_STAGE_CHIP_BG:
     811        query = "UPDATE chipBackgroundRun SET magicked = %" PRId64 " where chip_bg_id = %" PRId64;
     812        break;
    796813    case IPP_STAGE_CAMERA:
    797814        query = "UPDATE camRun SET magicked = %" PRId64 " where cam_id = %" PRId64;
     
    799816    case IPP_STAGE_WARP:
    800817        query = "UPDATE warpRun SET magicked = %" PRId64 " where warp_id = %" PRId64;
     818        break;
     819    case IPP_STAGE_WARP_BG:
     820        query = "UPDATE warpBackgroundRun SET magicked = %" PRId64 " where warp_bg_id = %" PRId64;
    801821        break;
    802822    case IPP_STAGE_DIFF:
Note: See TracChangeset for help on using the changeset viewer.