Opened 11 years ago

Closed 11 years ago

#377 closed defect (fixed)

WCPS doesn't consider axis labels in scale operation

Reported by: Dimitar Misev Owned by: Piero Campalani
Priority: minor Milestone: 9.0
Component: petascope Version: 8.4
Keywords: Cc:
Complexity: Easy

Description (last modified by Piero Campalani)

These two queries produce different results, even though just the order of the axes is changed:

for c in ( mr )
return encode(
 scale(c, {i:"CRS:1"(0:749), j:"CRS:1"(0:499)})
, "png")

and

for c in ( mr )
return encode(
 scale(c, {j:"CRS:1"(0:499), i:"CRS:1"(0:749)})
, "png")

Change History (4)

comment:1 by Dimitar Misev, 11 years ago

Milestone: 8.59.0

comment:2 by Dimitar Misev, 11 years ago

Owner: changed from abeccati to Piero Campalani
Status: newassigned

Updated queries:

for c in ( mr )
return encode(
 scale(c, { i:"CRS:1"(0:749), j:"CRS:1"(0:499) })
, "png")

and

for c in ( mr )
return encode(
 scale(c, { j:"CRS:1"(0:499), i:"CRS:1"(0:749) })
, "png")

Reassigning to Piero as new component owner.

comment:3 by Piero Campalani, 11 years ago

Description: modified (diff)
Status: assignedaccepted

comment:4 by Piero Campalani, 11 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in changeset:6f7b6e2.

Note: See TracTickets for help on using tickets.