IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 10, 2006, 3:16:23 PM (20 years ago)
Author:
jhoblitt
Message:

big database scheme change -- now partially normalized
full implement p0search -updateexp through p2 (p1 support is unimplemented)
delete "frame" level functions from p0search as they are now unused

File:
1 edited

Legend:

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

    r8248 r8279  
    474474        iteration,
    475475        rawExp->exp_id,
    476         rawExp->camera,
    477         rawExp->telescope,
    478         rawExp->exp_type,
    479         rawExp->imfiles,
    480         rawExp->filter,
    481         rawExp->airmass,
    482         rawExp->ra,
    483         rawExp->decl,
    484         rawExp->exp_time,
    485         rawExp->background
     476        true,   // use
     477        false   // accept
    486478    );
    487479}
     
    17881780        return false;
    17891781    }
     1782    psString class_id = psMetadataLookupStr(&status, config->args, "-class_id");
     1783    if (!status) {
     1784        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -class_id");
     1785        return false;
     1786    }
     1787    if (!class_id) {
     1788        psError(PS_ERR_UNKNOWN, true, "-class_id is required");
     1789        return false;
     1790    }
    17901791    psString recipe = psMetadataLookupStr(&status, config->args, "-recip");
    17911792    if (!status) {
     
    18441845                iteration,
    18451846                exp_id,
     1847                class_id,
    18461848                recipe,
    18471849                accept
     
    21492151            newIteration,
    21502152            inputExp->exp_id,
    2151             inputExp->camera,
    2152             inputExp->telescope,
    2153             inputExp->exp_type,
    2154             inputExp->imfiles,
    2155             inputExp->filter,
    2156             inputExp->airmass,
    2157             inputExp->ra,
    2158             inputExp->decl,
    2159             inputExp->exp_time,
    2160             inputExp->background
     2153            true,   // use
     2154            true    // accept
    21612155        );
    21622156        psArrayAdd(newInputExps, 0, newInputExp);
Note: See TracChangeset for help on using the changeset viewer.