Changeset 16826
- Timestamp:
- Mar 5, 2008, 10:57:34 AM (18 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
stacktool.c (modified) (3 diffs)
-
stacktoolConfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/stacktool.c
r16726 r16826 119 119 PXOPT_COPY_F32(config->args, where, "-select_solang_max", "solang", "<="); 120 120 121 if (!psListLength(where->list) ) {121 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) { 122 122 psFree(where); 123 123 psError(PXTOOLS_ERR_DATA, false, "search parameters are required"); … … 174 174 for (long i = 0; i < psArrayLength(output); i++) { 175 175 psMetadata *md = output->data[i]; 176 176 177 177 // pull out the warp_id, skycell_id, & tess_id 178 178 bool status; … … 617 617 // constrants 618 618 if (!stackSumSkyfileInsert(config->dbh, 619 (psS64)atoll(stack_id),620 uri,621 path_base,622 bg,623 bg_stdev,624 dtime_stack,625 hostname,626 good_frac,627 code628 )) {619 (psS64)atoll(stack_id), 620 uri, 621 path_base, 622 bg, 623 bg_stdev, 624 dtime_stack, 625 hostname, 626 good_frac, 627 code 628 )) { 629 629 if (!psDBRollback(config->dbh)) { 630 630 psError(PS_ERR_UNKNOWN, false, "database error"); -
trunk/ippTools/src/stacktoolConfig.c
r16724 r16826 45 45 psTime *now = psTimeGetNow(PS_TIME_TAI); 46 46 47 // - definebyquery47 // -queue 48 48 psMetadata *queueArgs = psMetadataAlloc(); 49 49 psMetadataAddStr(queueArgs, PS_LIST_TAIL, "-workdir", 0, … … 88 88 "define max solar angle", NAN); 89 89 90 psMetadataAddBool(queueArgs, PS_LIST_TAIL, "-all", 0, 91 "allow everything to be queued without search terms", false); 90 92 psMetadataAddBool(queueArgs, PS_LIST_TAIL, "-simple", 0, 91 93 "use the simple output format", false);
Note:
See TracChangeset
for help on using the changeset viewer.
