IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9403


Ignore:
Timestamp:
Oct 7, 2006, 3:00:56 PM (20 years ago)
Author:
jhoblitt
Message:

fix -search handling of -det_type

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r9395 r9403  
    9898    }
    9999
     100    {
     101        psString str = NULL;
     102        bool status = false;
     103        if ((str = psMetadataLookupStr(&status, config->args, "-det_type"))) {
     104            psStringAppend(&query, " AND detRun.det_type = '%s'", str);
     105        }
     106    }
     107
    100108    psStringAppend(&query, " LIMIT 1");
    101109
  • trunk/ippTools/src/detselectConfig.c

    r9402 r9403  
    195195    addWhereStr(telescope);
    196196    addWhereStr(exp_type);
    197     addWhereStr(det_type);
    198197    addWhereS32(imfiles);
    199198    addWhereStr(class);
Note: See TracChangeset for help on using the changeset viewer.