IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2010, 9:31:50 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/eam_branches/ipp-20100621/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/ippTools/src

    • Property svn:ignore
      •  

        old new  
        3939warptool
        4040staticskytool
        41 
         41bgtool
        4242diffphottool
  • branches/eam_branches/ipp-20100621/ippTools/src/magictool.c

    r28279 r28794  
    246246        psS64 diff_id = psMetadataLookupS64(NULL, row, "diff_id"); // difference identifier
    247247        bool inverse = psMetadataLookupU64(NULL, row, "inverse"); // Inverse subtraction? Note types!
     248        psString diff_data_group = psMetadataLookupStr(NULL, row, "diff_data_group");
    248249
    249250        // create a new magicRun for this group
     
    256257                                            "dirty",    // workdir_state
    257258                                            label,
    258                                             data_group ? data_group : label,
     259                                            data_group ? data_group : (diff_data_group ? diff_data_group : label),
    259260                                            dvodb,
    260261                                            registered,
     
    521522    psFree(where);
    522523
     524    psStringAppend(&query, "\nORDER BY priority DESC, magic_id");
     525
    523526    // treat limit == 0 as "no limit"
    524527    if (limit) {
     
    830833    psFree(where);
    831834
     835    psStringAppend(&query, "\nORDER BY priority DESC, magic_id");
     836
    832837    // treat limit == 0 as "no limit"
    833838    if (limit) {
     
    13651370    // check that state is a valid string value
    13661371    if (!(
    1367             (strncmp(state, "new", 4) == 0)
    1368             || (strncmp(state, "full", 5) == 0)
    1369             || (strncmp(state, "drop", 5) == 0)
    1370             || (strncmp(state, "reg", 4) == 0)
     1372            (strncmp(state, "new", 3) == 0)
     1373            || (strncmp(state, "full", 4) == 0)
     1374            || (strncmp(state, "drop", 4) == 0)
     1375            || (strncmp(state, "reg", 3) == 0)
    13711376        )
    13721377    ) {
Note: See TracChangeset for help on using the changeset viewer.