IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26983


Ignore:
Timestamp:
Feb 17, 2010, 7:14:09 PM (16 years ago)
Author:
bills
Message:

turn off automatic replication in streaksremove. In replicateOutputs only
replicate if user.copies is set. Need to test this part before destreaking
raw files

Location:
trunk/magic/remove/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksio.c

    r26621 r26983  
    925925    bool free_user_copies = true;
    926926    if (user_copies == NULL) {
    927         user_copies = "2";
    928         free_user_copies = false;
     927        // input does not have replication requested
     928        return true;
    929929    }
    930930    if (!nebSetXattr(server, outFile->name, "user.copies", user_copies,  NEB_REPLACE)) {
  • trunk/magic/remove/src/streaksremove.c

    r26890 r26983  
    231231    psLogMsg("streaksremove", PS_LOG_INFO, "time to close images: %f\n", ci_t);
    232232
     233#ifdef DO_REPLICATE
    233234    psTimerStart("REPLICATE_OUTPUTS");
    234235    if (!replicateOutputs(sfiles)) {
     
    239240    psF64 ro_t = psTimerClear("REPLICATE_OUTPUTS");
    240241    psMetadataAddF32(sfiles->stats, PS_LIST_TAIL, "REPLICATE_OUTPUTS", PS_META_REPLACE, "", ro_t);
     242#endif
    241243
    242244    // NOTE: from here on we can't just quit if something goes wrong.
Note: See TracChangeset for help on using the changeset viewer.