Ticket #6827 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Expose public methods of Material to python

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: major Milestone: Release 2.6
Component: Python Keywords:
Cc: Blocked By:
Blocking: Tester: Vickie Lynch

Description

Do what it says on the tin.

Change History

comment:1 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:2 Changed 7 years ago by Peter Peterson

  • Status changed from new to accepted

comment:3 Changed 7 years ago by Peter Peterson

Re #6827. Exposed method to get material.

Changeset: 8406b5d0e2b68c0c078cb8ef7753ab4f26ab2c73

comment:4 Changed 7 years ago by Peter Peterson

Re #6827. Exposing material to python.

Changeset: 0d4c56c90e231d30eee8cff2bf4605bd84e799de

comment:5 Changed 7 years ago by Peter Peterson

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

This is in feature/6827_material_in_python.

To test:

  1. Load data
  2. Run SetSampleMaterial to get a material on it
  3. Mess with the python object returned from wksp.sample().getMaterial()

comment:6 Changed 7 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:7 Changed 7 years ago by Vickie Lynch

  • Status changed from verifying to closed

I could see all the variables inside the material from python

comment:8 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:9 Changed 7 years ago by Nick Draper

  • Component changed from Framework to Python API

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7673

Note: See TracTickets for help on using tickets.