Skip to content
Snippets Groups Projects
Commit 15d6f724 authored by Doucet, Mathieu's avatar Doucet, Mathieu
Browse files

Fix problem with Version parameter of mantidsimple. Re #1591

parent a95aaca1
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ def create_algorithm(algorithm, version):
_version = version
if "Version" in kwargs:
_version = kwargs["Version"]
kwargs.pop(kwargs.index("Version"))
del kwargs["Version"]
algm = mtd.createAlgorithm(algorithm, _version)
algm.setPropertyValues(*args, **kwargs)
algm.execute()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment