Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
41fe6165
Unverified
Commit
41fe6165
authored
6 years ago
by
Martyn Gigg
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #22215 from mantidproject/22213_fix_StartLiveData_python_API_bug
Fix bug when using StartLiveData through Python API
parents
0a325d59
9737a3dd
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/PythonInterface/mantid/simpleapi.py
+4
-0
4 additions, 0 deletions
Framework/PythonInterface/mantid/simpleapi.py
with
4 additions
and
0 deletions
Framework/PythonInterface/mantid/simpleapi.py
+
4
−
0
View file @
41fe6165
...
@@ -266,6 +266,10 @@ def StartLiveData(*args, **kwargs):
...
@@ -266,6 +266,10 @@ def StartLiveData(*args, **kwargs):
try
:
try
:
if
value
is
None
:
if
value
is
None
:
value
=
kwargs
.
pop
(
name
)
value
=
kwargs
.
pop
(
name
)
else
:
# We don't need the value, but still need to remove from kwargs
# so that this property isn't set again later
kwargs
.
pop
(
name
,
None
)
algm
.
setProperty
(
name
,
value
)
algm
.
setProperty
(
name
,
value
)
except
ValueError
as
ve
:
except
ValueError
as
ve
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment