- Timestamp:
- Jun 24, 2024, 9:16:02 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/ippTools/src/xcfftool.c
r42597 r42699 180 180 PXOPT_COPY_S64(config->args, warpWhereMD, "-select_warp_id", "warpRun.warp_id", "=="); 181 181 PXOPT_COPY_F32(config->args, warpWhereMD, "-select_good_frac_min", "warpSkyfile.good_frac", ">="); 182 // XXX is is really necessary to limit the warps?182 // it is necessary to limit the warps otherwise the warpQueryTemplate (line 282) will be ill-formed 183 183 if (!psListLength(warpWhereMD->list)) { 184 184 psError(PXTOOLS_ERR_CONFIG, false, "warp search parameters are required"); … … 279 279 psString warpQueryTemplate = pxDataGet("xcfftool_definebyquery_select_warps.sql"); 280 280 281 // note the GROUP BY: if warpWhereMD is empty, this contruction 282 // will yield nonsense 281 283 whereClause = psDBGenerateWhereConditionSQL(warpWhereMD, NULL); 282 psStringAppend(&warpQueryTemplate, "\n AND %s ", whereClause);284 psStringAppend(&warpQueryTemplate, "\n AND %s GROUP BY warp_id", whereClause); 283 285 284 286 for (long i = 0; i < output->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
