IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23753 for trunk/psastro/src


Ignore:
Timestamp:
Apr 8, 2009, 2:33:59 PM (17 years ago)
Author:
Paul Price
Message:

Put statistics files in RUN metadata. Removed unnecessary argument from pmConfigDump. Reorganised ppSub so configuration is carried by the ppSubData, which means that the configuration can be dumped when we free the ppSubData (similar operation as for writing statistics).

Location:
trunk/psastro/src
Files:
2 edited

Legend:

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

    r23706 r23753  
    8989    psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
    9090    if (dump_file) {
    91         pmFPAfile *input = psMetadataLookupPtr(NULL, config->files, "PSASTRO.INPUT"); // Input file
    9291        pmConfigCamerasCull(config, NULL);
    9392        pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
    9493
    95         pmConfigDump(config, input->fpa, dump_file);
     94        pmConfigDump(config, dump_file);
    9695    }
    9796
  • trunk/psastro/src/psastroMetadataStats.c

    r23688 r23753  
    6666
    6767    // write the stats MDC to a file
    68     // XXX why does this not call psMetadataConfigPrint?
    6968    fprintf(statsFile, "%s", statsMDC);
    7069    fclose(statsFile);
     70
     71    pmConfigRunFilenameAddWrite(config, "STATS", filename);
    7172
    7273    psFree(resolved);
Note: See TracChangeset for help on using the changeset viewer.