Changeset 7316
- Timestamp:
- Jun 2, 2006, 3:19:00 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
dettool.c (modified) (3 diffs)
-
dettoolConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7315 r7316 1174 1174 1175 1175 // det_id is required 1176 // psString det_id is unused... it is only checked for to make sure it is 1177 // in config->where 1178 bool status = false; 1179 psString det_id = psMetadataLookupStr(&status, config->args, "-det_id"); 1180 if (!status) { 1181 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -det_id"); 1182 return false; 1183 } 1184 if (!det_id) { 1185 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 1186 return false; 1187 } 1176 1188 1177 1189 psArray *masterImfiles = … … 1205 1217 PS_ASSERT_PTR_NON_NULL(config, false); 1206 1218 1207 // det_id is required1219 // XXX det_id is requried as a simplification 1208 1220 bool status = false; 1209 1221 psString det_id = psMetadataLookupStr(&status, config->args, "-det_id"); … … 1212 1224 return false; 1213 1225 } 1226 if (!det_id) { 1227 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 1228 return false; 1229 } 1214 1230 1215 1231 // find all detNormalizedIImfile for det_id 1216 // XXX det_id is requried as a simplification1217 1232 psArray *masterImfiles = 1218 1233 detNormalizedImfileSelectRowObjects(config->dbh, config->where, 0); -
trunk/ippTools/src/dettoolConfig.c
r7315 r7316 137 137 psMetadata *normalizedArgs = psMetadataAlloc(); 138 138 psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-det_id", 0, 139 "search for detrend ID ", NULL);139 "search for detrend ID (required)", NULL); 140 140 psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-iter", 0, 141 141 "search for iteration number", NULL); … … 150 150 psMetadata *normalizedframeArgs = psMetadataAlloc(); 151 151 psMetadataAddStr(normalizedframeArgs, PS_LIST_TAIL, "-det_id", 0, 152 "search for detrend ID ", NULL);152 "search for detrend ID (required)", NULL); 153 153 psMetadataAddStr(normalizedframeArgs, PS_LIST_TAIL, "-iter", 0, 154 154 "search for iteration number", NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
