Changeset 12545
- Timestamp:
- Mar 22, 2007, 8:18:20 AM (19 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 2 edited
-
psphotArguments.c (modified) (1 diff)
-
psphotParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotArguments.c
r11201 r12545 91 91 if ((N = psArgumentGet (argc, argv, "-chip"))) { 92 92 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]); 94 94 psArgumentRemove (N, &argc, argv); 95 95 } 96 97 // drop the local view on the options (saved in config->arguments:PSPHOT_RECIPE)98 psFree (options);99 96 100 97 // if these command-line options are supplied, load the file name lists into config->arguments -
trunk/psphot/src/psphotParseCamera.c
r11383 r12545 114 114 115 115 // 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"); 117 117 psArray *chips = psStringSplitArray (chipLine, ",", false); 118 118 if (chips->n > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
