Ticket #6370 (closed: fixed)
Add support for scalar assignment for array properties
Reported by: | Peter Peterson | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | martyn.gigg@… | Blocked By: | |
Blocking: | Tester: | Jose Borreguero |
Description
Since it is cumbersome to write "[2.5]" for a property when "2.5" is just as natural, modify the python api to accept and autoconvert scalars into array properties.
Change History
comment:1 Changed 8 years ago by Peter Peterson
- Owner set to Peter Peterson
- Status changed from new to accepted
comment:2 Changed 8 years ago by Peter Peterson
Re #6370. Added support for scalars in array properties.
Changeset: 5e54993dcfa127ae53b289f6749cc8d8713c7e15
comment:3 Changed 8 years ago by Peter Peterson
Re #6370. Added parameter name to allow for clearer error msgs.
Changeset: f89023506edb3493a3a2af566cb21447098170f3
comment:4 Changed 8 years ago by Peter Peterson
- Status changed from accepted to verify
- Resolution set to fixed
comment:5 Changed 8 years ago by Peter Peterson
Re #6370. Added support for scalars in array properties.
Changeset: f8997bb46d50cd8dcc72de1e15342157bb218494
comment:6 Changed 8 years ago by Peter Peterson
Re #6370. Added parameter name to allow for clearer error msgs.
Changeset: 44d216261edfc52089fae486a291c32a44372688
Note: See
TracTickets for help on using
tickets.