Skip to content

Commit

Permalink
Replace 'EndRunBehavior' with 'RunTransitionBehavior' in scripts
Browse files Browse the repository at this point in the history
Update scripts that use the StartLiveData algorithm to use the new
property name.

Refs #7209
  • Loading branch information
rgmiller committed Apr 15, 2014
1 parent ad59725 commit 3eb60d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/src/StepScan.cpp
Expand Up @@ -537,7 +537,7 @@ bool StepScan::runStepScanAlgLive(std::string stepScanProperties)
startLiveData->setProperty("PreserveEvents",true);
startLiveData->setProperty("PostProcessingAlgorithm","StepScan");
startLiveData->setProperty("PostProcessingProperties",stepScanProperties);
startLiveData->setProperty("EndRunBehavior","Stop");
startLiveData->setProperty("RunTransitionBehavior","Stop");
startLiveData->setProperty("AccumulationWorkspace",m_inputWSName);
startLiveData->setProperty("OutputWorkspace",m_tableWSName);
// The previous listener needs to finish before this one can start
Expand Down
Expand Up @@ -113,7 +113,7 @@ def to_live_script(self):
script += options
script += ")"

script += """',PreserveEvents=True,EndRunBehavior='Stop',"""
script += """',PreserveEvents=True,RunTransitionBehavior='Stop',"""
script += output_workspace
script += ")\n"

Expand Down

0 comments on commit 3eb60d6

Please sign in to comment.