Changeset 12567
- Timestamp:
- Mar 23, 2007, 11:51:02 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpArguments.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpArguments.c
r12547 r12567 8 8 9 9 if (argc == 1) { 10 psError(PSWARP_ERR_ARGUMENTS, true, "No arguments supplied");11 return NULL;10 psError(PSWARP_ERR_ARGUMENTS, true, "No arguments supplied"); 11 return NULL; 12 12 } 13 13 … … 21 21 // save the following additional recipe values based on command-line options 22 22 // these options override the PSWARP recipe values loaded from recipe files 23 p sMetadata *options = pmConfigRecipeOptions (config, PSWARP_RECIPE);23 pmConfigRecipeOptions (config, PSWARP_RECIPE); 24 24 25 25 pmConfigFileSetsMD (config->arguments, config, "ASTROM", "-astrom", "-astromlist"); … … 34 34 status = pmConfigFileSetsMD (config->arguments, config, "INPUT", "-file", "-list"); 35 35 if (!status) { 36 psError(PSWARP_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)");37 return NULL;36 psError(PSWARP_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)"); 37 return NULL; 38 38 } 39 39 40 40 // the mask and weight entries are optional (build from gain?) 41 41 pmConfigFileSetsMD (config->arguments, config, "MASK", "-mask", "-masklist"); 42 42 pmConfigFileSetsMD (config->arguments, config, "WEIGHT", "-weight", "-weightlist"); 43 43 44 44 if (argc != 3) { 45 psError(PSWARP_ERR_ARGUMENTS, true, "Incorrect arguments supplied");46 return NULL;45 psError(PSWARP_ERR_ARGUMENTS, true, "Incorrect arguments supplied"); 46 return NULL; 47 47 } 48 48 49 49 psArray *array; 50 50
Note:
See TracChangeset
for help on using the changeset viewer.
