Ticket #6701 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Fix Python Exports

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: minor Milestone: Release 2.5
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Stuart Campbell

Description

the IMDDimension export is mapping some of the functions incorrectly. In particular Units -> DimensionId.

Change History

comment:1 Changed 8 years ago by Owen Arnold

  • Owner set to Owen Arnold
  • Status changed from new to assigned

comment:2 Changed 8 years ago by Owen Arnold

  • Status changed from assigned to accepted

comment:3 Changed 8 years ago by Owen Arnold

Tester:

When this is fixed, the following should print u

mdws = CreateMDWorkspace(Dimensions='3',EventType='MDEvent',Extents='-1,1,-1,1,-1,1',Names='a,b,c',Units='u,v,w')
print mdws.getDimension(0).getUnits()

comment:4 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 40251d0c47ee75fc072f54f98034e2f28d58b031

comment:5 Changed 8 years ago by Owen Arnold

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:6 Changed 8 years ago by Stuart Campbell

  • Status changed from verify to verifying
  • Tester set to Stuart Campbell

comment:7 Changed 8 years ago by Stuart Campbell

Strange thing is that when I tried the test from a 'real' python shell then I needed to either surround the mdws.getDimension(0) with () or assign to a local variable first. Works as described in the mantid interpreter though.

comment:8 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 40251d0c47ee75fc072f54f98034e2f28d58b031

comment:9 Changed 8 years ago by Stuart Campbell

  • Status changed from verifying to closed

comment:10 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 40251d0c47ee75fc072f54f98034e2f28d58b031

comment:11 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 40251d0c47ee75fc072f54f98034e2f28d58b031

comment:12 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 50725656300f2e92a2021a3e7ff18b77f2e181f1

comment:13 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 40251d0c47ee75fc072f54f98034e2f28d58b031

comment:14 Changed 8 years ago by Owen Arnold

refs #6701. Simple fix.

Changeset: 40251d0c47ee75fc072f54f98034e2f28d58b031

comment:15 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7547

Note: See TracTickets for help on using tickets.