Skip to content

Commit

Permalink
refs #6147. isValid is property in old api.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Mar 11, 2013
1 parent 490b0ed commit 20a8fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/PythonAPI/mantidsimple.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def algorithm_wrapper(*args, **kwargs):
for p in mtd._getPropertyOrder(_algm_object):
prop = _algm_object.getProperty(p)
# Mandatory parameters are those for which the default value is not valid
if len(str(prop.isValid()))>0:
if len(str(prop.isValid))>0:
arg_list.append(p)
else:
# None is not quite accurate here, but we are reproducing the
Expand Down

0 comments on commit 20a8fcc

Please sign in to comment.