Ticket #1855 (closed: fixed)
Algorithm auto-generated GUI: Have the ability to add a few lines of descriptive text to help guide users.
Reported by: | Janik Zikovsky | Owned by: | Janik Zikovsky |
---|---|---|---|
Priority: | major | Milestone: | Iteration 26 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Michael Whitty |
Description (last modified by Nick Draper) (diff)
- Perhaps a Algorithm->setHelp("string") function is called in init()
- This is then displayed, if set, in the GUI
Change History
comment:4 follow-up: ↓ 5 Changed 10 years ago by Nick Draper
- Description modified (diff)
Janik,
The message was added primarily for use in users scripts. It is fine to use it here as well,but if the users sets the message in Python I guess it should overwite any set in the algorithm itself.
I'm thinking of
Load(file1,"ws1", message="Specify the Empty can file") Load(file1,"ws2", message="Specify the data file")
comment:5 in reply to: ↑ 4 Changed 10 years ago by Janik Zikovsky
I tried the syntax below and got the error: "Load() got an unexpected keyword argument 'message'" looks like the message keyword is not in the python API?
Janik
Replying to Nick Draper:
Janik,
The message was added primarily for use in users scripts. It is fine to use it here as well,but if the users sets the message in Python I guess it should overwite any set in the algorithm itself.
I'm thinking of
Load(file1,"ws1", message="Specify the Empty can file") Load(file1,"ws2", message="Specify the data file")
comment:6 Changed 10 years ago by Janik Zikovsky
- Status changed from accepted to verify
- Resolution set to fixed
works!
Optional message is possible in MantidUI, but seems unused.