IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2008, 1:27:58 PM (18 years ago)
Author:
eugene
Message:

extensive changes from eam_branch_20080719:

  • added the 'cleanup' options to camtool, faketool, warptool, difftool, stacktool
  • added corresponding sql code
  • changed the states for camera, fake, warp, diff, and stack to the new set of states: new, full, goto_cleaned, cleaned, update, goto_purged, and purged
  • added 'data_state' entries to the detrend tables and the detRunSummary
  • added 'cleanup' options to dettool using the detRunSummary data_state as the control
  • moved dettool supporting code to dettool_STAGE, where stage is processedimfile, processedexp, etc.
  • converted dettool to use S64 for det_id and exp_id entries
File:
1 edited

Legend:

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

    r18561 r19092  
    2424    PS_ASSERT_PTR_NON_NULL(config, false);
    2525
    26     PXOPT_LOOKUP_STR(det_id, config->args, "-det_id", true, false); // required
     26    PXOPT_LOOKUP_S64(det_id, config->args, "-det_id", true, false); // required
    2727    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); // optional
    2828
    2929    // build the needed where
    3030    psMetadata *where = psMetadataAlloc();
    31     psMetadataAddS64(where, PS_LIST_TAIL, "det_id", 0, "==", (psS64)atoll(det_id));
     31    psMetadataAddS64(where, PS_LIST_TAIL, "det_id", 0, "==", det_id);
    3232    psArray *runs = detRunSelectRowObjects(config->dbh, where, 1);
    3333    psFree (where);
Note: See TracChangeset for help on using the changeset viewer.