Changeset 14037 for trunk/ippTools/src
- Timestamp:
- Jul 5, 2007, 5:46:11 PM (19 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pxinject.c (modified) (2 diffs)
-
pxinjectConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxinject.c
r14023 r14037 107 107 return false; 108 108 } 109 psS32 imfiles = psMetadataLookupS32(&status, config->args, "-imfiles");110 if (!status) {111 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -imfiles");112 return false;113 }114 if (!imfiles) {115 psError(PS_ERR_UNKNOWN, true, "-imfiles is required");116 return false;117 }118 109 119 110 psString workdir = psMetadataLookupStr(&status, config->args, "-workdir"); … … 130 121 0x0, // exp_id 131 122 tmp_exp_name, 132 "reg", // state133 123 tmp_camera, 134 124 tmp_telescope, 135 imfiles,125 "reg", // state 136 126 workdir, 137 127 "dirty" -
trunk/ippTools/src/pxinjectConfig.c
r14023 r14037 51 51 psMetadataAddStr(newExpArgs, PS_LIST_TAIL, "-tmp_telescope", 0, 52 52 "define the telescope name (required)", NULL); 53 psMetadataAddS32(newExpArgs, PS_LIST_TAIL, "-imfiles", 0,54 "define the number of imfiles in this exp (required)", 0);55 53 psMetadataAddStr(newExpArgs, PS_LIST_TAIL, "-workdir", 0, 56 54 "define workdir (required)", 0); … … 62 60 psMetadataAddStr(newImfileArgs, PS_LIST_TAIL, "-exp_id", 0, 63 61 "define the exp_id (required)", NULL); 64 #if 065 psMetadataAddStr(newImfileArgs, PS_LIST_TAIL, "-class", 0,66 "define the class (required)", NULL);67 #endif68 62 psMetadataAddStr(newImfileArgs, PS_LIST_TAIL, "-tmp_class_id", 0, 69 63 "define the class ID (required)", NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
