#194 closed defect (wontfix)
WCPS generalCondenseExpr syntax not recognised
Reported by: | Owned by: | Dimitar Misev | |
---|---|---|---|
Priority: | major | Milestone: | 8.4 |
Component: | petascope | Version: | 8.3 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
The query
for v1 in (glasgow_witi_t)
return
condense +
over px x(0:100),
py y(0:100)
using 1
gives a runtime error: error translating abstract WCPS query to XL format.
Using RPM 8.3.0-7.el6
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | trac194.log added |
---|
comment:1 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Many passing tests contain general condenser, in source:systemtest/testcases_petascope/test_wcps/queries so I'd assume it's some error in your query. Have a look at:
- source:systemtest/testcases_petascope/test_wcps/queries/24-condense_coverage_one_var.test
- source:systemtest/testcases_petascope/test_wcps/queries/25-condense_field_two_vars.test
- source:systemtest/testcases_petascope/test_wcps/queries/27-construct_boring_histogram.test
- source:systemtest/testcases_petascope/test_wcps/queries/28-construct_histogram_range_condition.test
- source:systemtest/testcases_petascope/test_wcps/queries/29-filter_image(lines).test
- source:systemtest/testcases_petascope/test_wcps/queries/31-Discrete_Fourier.test
- source:systemtest/testcases_petascope/test_wcps/queries/32-construct_condense_cosinus_gray_image.test
- source:systemtest/testcases_petascope/test_wcps/queries/33-construct_condense_gray_image.test
- source:systemtest/testcases_petascope/test_wcps/queries/41-filter_calculation_reloaded.test
- source:systemtest/testcases_petascope/test_wcps/queries/42-filter_calculation.xml
comment:2 by , 12 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Reopened, the problem is that variables in petascope are required to start with a '$', whereas in the WCPS standard they are not.
comment:3 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
This generality (ie, leaving out the $ prefix for variable identification) will have to be abandoned when uniting WCPS with XQuery, so in future the $ will be mandatory anyway.
comment:4 by , 12 years ago
There is more relevant ticket to be used as reference for $ involving issues (see #303).
Tomcat Log