Changeset 9764
- Timestamp:
- Oct 26, 2006, 6:00:41 PM (20 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 5 edited
-
configure.ac (modified) (1 diff)
-
src/chiptool.c (modified) (2 diffs)
-
src/pxtables.c (modified) (2 diffs)
-
src/regtool.c (modified) (1 diff)
-
src/regtoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/configure.ac
r9707 r9764 16 16 PKG_CHECK_MODULES([PSLIB], [pslib >= 0.12.99]) 17 17 PKG_CHECK_MODULES([PSMODULES], [psmodules >= 0.12.0]) 18 PKG_CHECK_MODULES([IPPDB], [ippdb >= 0.0.5 1])18 PKG_CHECK_MODULES([IPPDB], [ippdb >= 0.0.52]) 19 19 20 20 AC_PROG_PERL_MODULES( -
trunk/ippTools/src/chiptool.c
r9539 r9764 168 168 // XXX does this need to be constrained so that it won't return any results 169 169 // if a match p2PendingExp hasn't been registered? 170 psString query = psStringCopy("SELECT * FROM p2PendingImfile"); 170 psString query = psStringCopy( 171 "SELECT" 172 " p2PendingImfile.*" 173 " FROM p2PendingImfile" 174 " JOIN p2PendingExp" 175 " USING(exp_tag)" 176 " LEFT JOIN p2Mask" 177 " ON p2PendingExp.label = p2Mask.label" 178 " WHERE" 179 " p2Mask.label IS NULL" 180 ); 171 181 172 182 if (config->where) { 173 psString whereClause = psDBGenerateWhereConditionSQL(config->where, " rawImfile");183 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "p2PendingImfile"); 174 184 psStringAppend(&query, " AND %s", whereClause); 175 185 psFree(whereClause); … … 583 593 { 584 594 PS_ASSERT_PTR_NON_NULL(pendingExp, NULL); 585 595 586 596 return p2ProcessedExpRowAlloc( 587 597 pendingExp->exp_tag, 588 598 pendingExp->p1_version, 589 pendingExp->p2_version 599 pendingExp->p2_version, 600 pendingExp->label 590 601 ); 591 602 } -
trunk/ippTools/src/pxtables.c
r9392 r9764 57 57 CREATE_TABLE(p2ProcessedExpCreateTable); 58 58 CREATE_TABLE(p2ProcessedImfileCreateTable); 59 CREATE_TABLE(p2MaskCreateTable); 59 60 CREATE_TABLE(p3PendingExpCreateTable); 60 61 CREATE_TABLE(p3ProcessedExpCreateTable); … … 115 116 DROP_TABLE(p2ProcessedExpDropTable); 116 117 DROP_TABLE(p2ProcessedImfileDropTable); 118 DROP_TABLE(p2MaskDropTable); 117 119 DROP_TABLE(p3PendingExpDropTable); 118 120 DROP_TABLE(p3ProcessedExpDropTable); -
trunk/ippTools/src/regtool.c
r9691 r9764 680 680 PS_ASSERT_PTR_NON_NULL(exp, NULL); 681 681 682 // optional 683 bool status = false; 684 psString label = psMetadataLookupStr(&status, config->args, "-label"); 685 if (!status) { 686 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -label"); 687 return false; 688 } 689 682 690 return p2PendingExpRowAlloc( 683 691 exp->exp_tag, 684 692 "my recipe", 685 693 0xff, // XXX calc version number 686 0xff // XXX calc version number 694 0xff, // XXX calc version number 695 label 687 696 ); 688 697 } -
trunk/ippTools/src/regtoolConfig.c
r9682 r9764 102 102 psMetadataAddStr(updateexpArgs, PS_LIST_TAIL, "-dateobs", 0, 103 103 "define observation time", NULL); 104 psMetadataAddStr(updateexpArgs, PS_LIST_TAIL, "-label", 0, 105 "define label for phase 2 processing (non-detrend data only)", NULL); 104 106 /* 105 107 psMetadataAddStr(updateArgs, PS_LIST_TAIL, "-recip", 0,
Note:
See TracChangeset
for help on using the changeset viewer.
