New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent usage of IntArrayBoundedValidator in Python #9777
Labels
Induction
Straightforward, low risk issues suitable for new starters
Comments
@NickDraper (2014-02-14T11:07:55): |
MatthewBowles
added a commit
that referenced
this issue
Jul 17, 2017
MatthewBowles
added a commit
that referenced
this issue
Jul 17, 2017
7 tasks
MatthewBowles
added a commit
that referenced
this issue
Jul 18, 2017
MatthewBowles
added a commit
that referenced
this issue
Jul 18, 2017
soininen
pushed a commit
that referenced
this issue
Mar 6, 2019
Refactor ArrayBoundedValidator to be more in line with BoundedValidator by adding methods to deal with exclusive bounds. Re #9777
soininen
pushed a commit
that referenced
this issue
Mar 6, 2019
soininen
pushed a commit
that referenced
this issue
Mar 7, 2019
soininen
pushed a commit
that referenced
this issue
Mar 8, 2019
Refactor ArrayBoundedValidator to be more in line with BoundedValidator by adding methods to deal with exclusive bounds. Re #9777
soininen
pushed a commit
that referenced
this issue
Mar 8, 2019
soininen
pushed a commit
that referenced
this issue
Mar 11, 2019
Refactor ArrayBoundedValidator to be more in line with BoundedValidator by adding methods to deal with exclusive bounds. Re #9777
soininen
pushed a commit
that referenced
this issue
Mar 11, 2019
soininen
pushed a commit
that referenced
this issue
Mar 11, 2019
soininen
pushed a commit
that referenced
this issue
Apr 8, 2019
DanielMurphy22
added
Induction
Straightforward, low risk issues suitable for new starters
and removed
Induction 1
labels
Nov 16, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue was originally TRAC 8934
Dear Mantid team,
I just stumbled accross some inconvenience as I wanted to declare an array
property where the individual values are supposed to have a minimum, but
not a maximum value.
For single numbers it is very convenient:
(Nasty anyway that here it is
lowerBound
whereas for non-arrays it islower
)This is because 'IntArrayBoundedValidator' does not have default arguments
nor understands 'None'. This is the workaround:
Would be nice if setting bounds on single values or arrays would behave
similarly (and in an easy way).
The text was updated successfully, but these errors were encountered: