IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40744


Ignore:
Timestamp:
May 16, 2019, 11:25:47 AM (7 years ago)
Author:
mhuber
Message:

merge clearing detections for inv so WWdiff updates stop corrupting inv.cmf..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20170121/ppSub/src/ppSubLoop.c

    r32676 r40744  
    305305        }
    306306
     307        //MEH -- need to also clear out detections or inv.cmf corrupted on update
     308        pmFPAview *viewinv = ppSubViewReadout(); // View to readout
     309        pmReadout *inv = pmFPAfileThisReadout(config->files, viewinv, "PPSUB.INVERSE");
     310        if (psMetadataLookup(inv->analysis, "PSPHOT.DETECTIONS")) {
     311            psMetadataRemoveKey(inv->analysis, "PSPHOT.DETECTIONS");
     312        }
     313        psFree(viewinv);
     314
    307315        // Close subtraction files and open inverse photometry files
    308316        if (!ppSubFilesIterateUp(config, PPSUB_FILES_SUB)) {
Note: See TracChangeset for help on using the changeset viewer.