Changeset 25766 for branches/eam_branches/20090820/ippTools/src/stacktool.c
- Timestamp:
- Oct 2, 2009, 5:10:19 PM (17 years ago)
- Location:
- branches/eam_branches/20090820
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/stacktool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090820
- Property svn:mergeinfo changed
-
branches/eam_branches/20090820/ippTools/src
- Property svn:ignore
-
old new 34 34 disttool 35 35 receivetool 36 36 addtool 37 37 pubtool
-
- Property svn:ignore
-
branches/eam_branches/20090820/ippTools/src/stacktool.c
r24954 r25766 139 139 PXOPT_COPY_F32(config->args, where, "-select_fwhm_minor_min", "camProcessedExp.fwhm_minor", ">="); 140 140 PXOPT_COPY_F32(config->args, where, "-select_fwhm_minor_max", "camProcessedExp.fwhm_minor", "<="); 141 PXOPT_COPY_F32(config->args, where, "-select_iq_m2_max", "camProcessedExp.iq_m2", "<="); 142 PXOPT_COPY_F32(config->args, where, "-select_iq_m2_min", "camProcessedExp.iq_m2", ">="); 143 PXOPT_COPY_F32(config->args, where, "-select_iq_m3_max", "camProcessedExp.iq_m3", "<="); 144 PXOPT_COPY_F32(config->args, where, "-select_iq_m4_min", "camProcessedExp.iq_m4", ">="); 145 PXOPT_COPY_F32(config->args, where, "-select_iq_m4_max", "camProcessedExp.iq_m4", "<="); 146 141 147 PXOPT_COPY_STR(config->args, where, "-select_exp_type", "rawExp.exp_type", "=="); 142 148 PXOPT_COPY_F32(config->args, where, "-select_good_frac_min", "warpSkyfile.good_frac", ">="); … … 853 859 854 860 psMetadata *where = psMetadataAlloc(); 855 PXOPT_COPY_S64(config->args, where, "-warp_id", "warpRun.warp_id", "==");856 861 PXOPT_COPY_S64(config->args, where, "-stack_id", "stackSumSkyfile.stack_id", "=="); 857 PXOPT_COPY_S64(config->args, where, "-exp_id", "rawExp.exp_id", "==");858 PXOPT_COPY_STR(config->args, where, "-exp_name", "rawExp.exp_name", "==");859 862 PXOPT_COPY_STR(config->args, where, "-tess_id", "stackRun.tess_id", "=="); 860 863 PXOPT_COPY_STR(config->args, where, "-skycell_id", "stackRun.skycell_id", "=="); 864 PXOPT_COPY_STR(config->args, where, "-filter", "stackRun.filter", "LIKE"); 865 PXOPT_COPY_STR(config->args, where, "-label", "stackRun.label", "=="); 866 PXOPT_COPY_S16(config->args, where, "-fault", "stackSumSkyfile.fault", "=="); 867 868 // The following three selectors are incompatible with the sql so omit them 869 // PXOPT_COPY_S64(config->args, where, "-warp_id", "warpRun.warp_id", "=="); 870 // PXOPT_COPY_S64(config->args, where, "-exp_id", "rawExp.exp_id", "=="); 871 // PXOPT_COPY_STR(config->args, where, "-exp_name", "rawExp.exp_name", "=="); 872 873 PXOPT_LOOKUP_BOOL(all, config->args, "-all", false); 861 874 862 875 PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false); … … 873 886 psStringAppend(&query, " WHERE %s", whereClause); 874 887 psFree(whereClause); 875 } 888 } else if (!all) { 889 psError(PXTOOLS_ERR_DATA, true, "search parameters or -all are required"); 890 return false; 891 } 892 876 893 psFree(where); 877 894
Note:
See TracChangeset
for help on using the changeset viewer.
