IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2007, 5:55:48 PM (19 years ago)
Author:
jhoblitt
Message:

remove exp_tag & p3_version from p4Scfile's primary key

File:
1 edited

Legend:

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

    r11811 r11818  
    235235        return false;
    236236    }
    237     psString exp_tag = psMetadataLookupStr(&status, config->args, "-exp_tag");
    238     if (!status) {
    239         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_tag");
    240         return false;
    241     }
    242     if (!exp_tag) {
    243         psError(PS_ERR_UNKNOWN, true, "-exp_tag is required");
    244         return false;
    245     }
    246 
    247     // defaults to 0
    248     psS32 p3_version = psMetadataLookupS32(&status, config->args, "-p3_version");
    249     if (!status) {
    250         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -p3_version");
    251         return false;
    252     }
    253237
    254238    psString kind = psMetadataLookupStr(&status, config->args, "-kind");
     
    273257            skycell_id,
    274258            tess_id,
    275             exp_tag,
    276             p3_version,
    277259            kind,
    278260            template
     
    402384        "  AND p5InputScfile.skycell_id = p4Scfile.skycell_id\n"
    403385        "  AND p5InputScfile.tess_id    = p4Scfile.tess_id\n"
    404         "  AND p5InputScfile.exp_tag    = p4Scfile.exp_tag\n"
    405         "  AND p5InputScfile.p3_version = p4Scfile.p3_version\n"
    406386        " LEFT JOIN p5DiffScfile\n"
    407387        "   ON p5InputScfile.p5_id      = p5DiffScfile.p5_id\n"
Note: See TracChangeset for help on using the changeset viewer.