Ticket #2330 (closed: fixed)
Load: Improved Python flexibility
Reported by: | Nick Draper | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Owen Arnold |
Description
Extend the python scripting support for Load to allow uses to specifiy any properties they want, in addition to Filename and OutputWorkspace. When executing do the following:
- Use the Load Algorithm to select the specific Loader to use.
- Pass on the properties including any user specified ones that match.
- Log any that mismatch (warning)
- Execute
Change History
comment:5 Changed 10 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:10 Changed 10 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
comment:11 Changed 10 years ago by Owen Arnold
- Status changed from verifying to closed
Works as advertised. Suggested spin-off #2413.
comment:12 Changed 10 years ago by Martyn Gigg
- Status changed from closed to reopened
- Resolution fixed deleted
Not quite.
comment:13 Changed 10 years ago by Martyn Gigg
- Status changed from reopened to accepted
On Windows at least, Load(Filename='file',OutputWorkspace='w',EntryNumber=2) to load a nexus file for example skips the EntryNumber key word.
comment:14 Changed 10 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:16 Changed 10 years ago by Owen Arnold
- Status changed from verifying to closed
Specifying keywords for FileName and OutputWorkspace now works. Tested with and without the presence of other keywords.
comment:17 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 3177
Note: See
TracTickets for help on using
tickets.
(In [9455]) Add more flexible simple API command for Load. Re #2330. Clean up for memory leak in LoadSNSNexus. Re #2394