IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2013, 4:56:44 PM (13 years ago)
Author:
eugene
Message:

cleanup file activation calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoopBackground.c

    r35535 r35536  
    1111
    1212#include "pswarp.h"
    13 #include "pswarpFileNames.h"            // Lists of file rules used at different stages
    1413
    1514#define WCS_NONLIN_TOL 0.001            // Non-linear tolerance for header WCS
     
    5857        return false;
    5958    }
     59
     60    // we are only reading the background models, not writing anything
     61    pmFPAfileActivate(config->files, false, NULL);
     62    pmFPAfileActivate(config->files, true, "PSWARP.BKGMODEL");
    6063
    6164    // loop over this section once per input group
     
    8386            input->fpa->toSky = psMemIncrRefCounter (astrom->fpa->toSky);
    8487        }
    85 
    86         // we only need to load the background models here
    87         pswarpFileActivation(config, detectorFiles, false);
    88         pswarpFileActivation(config, photFiles, false);
    89         pswarpFileActivation(config, independentFiles, false);
    90         pswarpFileActivation(config, skycellFiles, false);
    91 
    92         // we are only reading the background models, not writing anything
    93         pmFPAfileActivate(config->files, true, "PSWARP.BKGMODEL");
    9488
    9589        pmFPAviewReset (view);
Note: See TracChangeset for help on using the changeset viewer.