Ticket #6050 (closed: fixed)
Expose ExperimentInfo::getInstrumentFilename to Python
Reported by: | Stuart Campbell | Owned by: | Stuart Campbell |
---|---|---|---|
Priority: | major | Milestone: | Release 2.3 |
Component: | Python | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description
We need a robust method of getting the instrument filename from Python. We already have a method for this, namely ExperimentInfo::getInstrumentFilename().
Change History
comment:2 Changed 8 years ago by Stuart Campbell
refs #6050. Expose getInstrumentFilename to Python.
exposes ExperimentInfo::getInstrumentFilename() to Python.
Removed the method that only took the instrument name in favour of a default parameter for the date.
Changeset: 3bfb4ac53d2ba774a3ceb20a5616e9742db87605
comment:3 Changed 8 years ago by Stuart Campbell
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 8 years ago by Stuart Campbell
to test, do something like:
import mantid.api mantid.api.ExperimentInfo.getInstrumentFilename("ARCS") mantid.api.ExperimentInfo.getInstrumentFilename("ARCS", "2012-10-30")
comment:5 Changed 8 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
comment:7 Changed 8 years ago by Stuart Campbell
refs #6050. Expose getInstrumentFilename to Python.
exposes ExperimentInfo::getInstrumentFilename() to Python.
Removed the method that only took the instrument name in favour of a default parameter for the date.
Changeset: 3bfb4ac53d2ba774a3ceb20a5616e9742db87605
comment:8 Changed 8 years ago by Stuart Campbell
refs #6050. Expose getInstrumentFilename to Python.
exposes ExperimentInfo::getInstrumentFilename() to Python.
Removed the method that only took the instrument name in favour of a default parameter for the date.
Changeset: 3bfb4ac53d2ba774a3ceb20a5616e9742db87605