IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23705


Ignore:
Timestamp:
Apr 3, 2009, 12:51:10 PM (17 years ago)
Author:
bills
Message:

write the config dump file after processing so that FILES.INPUT and FILES.OUTPUT have
been populated.

Location:
trunk/psastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDataSave.c

    r23688 r23705  
    8686    if (!psastroMetadataStats (config, stats)) ESCAPE;
    8787
     88    bool status;
     89    psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
     90    if (dump_file) {
     91        pmConfigCamerasCull(config, NULL);
     92        pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
     93
     94        pmConfigDump(config, output->fpa, dump_file);
     95    }
     96
    8897    // activate all files except PSASTRO.OUTPUT
    8998    pmFPAfileActivate (config->files, true, NULL);
  • trunk/psastro/src/psastroParseCamera.c

    r21409 r23705  
    4545    psFree (chips);
    4646
    47     psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
    48     if (dump_file) {
    49         pmConfigCamerasCull(config, NULL);
    50         pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
    51 
    52         pmConfigDump(config, input->fpa, dump_file);
    53     }
    54 
    55 
    5647    psTrace("psastro", 1, "Done with psastroParseCamera...\n");
    5748    return true;
Note: See TracChangeset for help on using the changeset viewer.