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
9737a3dd
Commit
9737a3dd
authored
7 years ago
by
Matthew D Jones
Browse files
Options
Downloads
Patches
Plain Diff
Re #22213 Ensure Instrument property not set twice in Listener alg
parent
e07b2bf5
Branches
22213_fix_StartLiveData_python_API_bug
Branches containing commit
No related tags found
Tags containing commit
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 @
9737a3dd
...
...
@@ -266,6 +266,10 @@ def StartLiveData(*args, **kwargs):
try
:
if
value
is
None
:
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
)
except
ValueError
as
ve
:
...
...
This diff is collapsed.
Click to expand it.
WHITFIELDRE email
@rwp
mentioned in commit
db77e77c
·
6 years ago
mentioned in commit
db77e77c
mentioned in commit db77e77cb595918ada85a730a5be5e8a07384696
Toggle commit list
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