IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2006, 2:24:46 PM (20 years ago)
Author:
eugene
Message:

convert iteration to detNormalizedImfile.iteration in normalizedimfileMode

File:
1 edited

Legend:

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

    r9407 r9408  
    26792679
    26802680    if (config->where) {
     2681        // XXX need to replace det_id with detNormalizedImfile.det_id
     2682        bool status;
     2683        int iteration = psMetadataLookupS32 (&status, config->where, "iteration");
     2684        if (status) {
     2685            psMetadataRemoveKey (config->where, "iteration");
     2686            psMetadataAddS32 (config->where, PS_LIST_TAIL, "detNormalizedImfile.iteration", 0, "==", iteration);
     2687        }
    26812688        psString whereClause = psDBGenerateWhereConditionSQL(config->where, NULL);
    26822689        psStringAppend(&query, " AND %s", whereClause);
Note: See TracChangeset for help on using the changeset viewer.