Ticket #1304 (closed: fixed)
Add C++ and python methods to list the parameters on an component
Reported by: | Nick Draper | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Iteration 25 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
The summary says it all
Change History
comment:1 Changed 10 years ago by Nick Draper
- Status changed from new to assigned
- Owner set to Martyn Gigg
comment:5 Changed 10 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
Parameter access is ugly in Python. New ticket, #1601, created to remedy this.
comment:6 Changed 10 years ago by Michael Whitty
- Status changed from verify to verifying
- Component set to Mantid
- Tester set to Michael Whitty
comment:7 Changed 10 years ago by Michael Whitty
- Status changed from verifying to closed
verified in r [7139]
comment:8 Changed 10 years ago by Nick Draper
- Status changed from closed to reopened
- Resolution fixed deleted
This script does not seem to work
a=mtd["LOQ48097"] d=a.getDetector(7) print d.getParameterNames()
comment:9 Changed 10 years ago by Martyn Gigg
- Status changed from reopened to verify
- Resolution set to fixed
comment:10 Changed 10 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester changed from Michael Whitty to Anders Markvardsen
comment:11 Changed 10 years ago by Anders Markvardsen
- Status changed from verifying to closed
C++ is used in a number of unit tests and tested that parameters could be obtained from python on a LOQ, HRPD and MAP workspaces.
comment:12 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2151
Note: See
TracTickets for help on using
tickets.