IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12545


Ignore:
Timestamp:
Mar 22, 2007, 8:18:20 AM (19 years ago)
Author:
eugene
Message:

CHIP_SELECTIONS is an argument, not a recipe option

Location:
trunk/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotArguments.c

    r11201 r12545  
    9191    if ((N = psArgumentGet (argc, argv, "-chip"))) {
    9292        psArgumentRemove (N, &argc, argv);
    93         psMetadataAddStr (options, PS_LIST_TAIL, "CHIP_SELECTIONS", PS_DATA_STRING, "", argv[N]);
     93        psMetadataAddStr (config->arguments, PS_LIST_TAIL, "CHIP_SELECTIONS", PS_DATA_STRING, "", argv[N]);
    9494        psArgumentRemove (N, &argc, argv);
    9595    }
    96 
    97     // drop the local view on the options (saved in config->arguments:PSPHOT_RECIPE)
    98     psFree (options);
    9996
    10097    // if these command-line options are supplied, load the file name lists into config->arguments
  • trunk/psphot/src/psphotParseCamera.c

    r11383 r12545  
    114114
    115115    // Chip selection: turn on only the chips specified (pass status to suppress missing-key log msg)
    116     char *chipLine = psMetadataLookupStr(&status, recipe, "CHIP_SELECTIONS");
     116    char *chipLine = psMetadataLookupStr(&status, config->arguments, "CHIP_SELECTIONS");
    117117    psArray *chips = psStringSplitArray (chipLine, ",", false);
    118118    if (chips->n > 0) {
Note: See TracChangeset for help on using the changeset viewer.