Skip to content

Commit

Permalink
Use correct scale factor parameter
Browse files Browse the repository at this point in the history
Refs #10855
  • Loading branch information
DanNixon committed Jan 7, 2015
1 parent b04023c commit 378a845
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -359,7 +359,7 @@ def _scale_monitor(self, ws_name):
instrument = mtd[ws_name].getInstrument()

try:
scale_factor = instrument.getNumberParameter('Workflow.MonitorScalingFactor')[0]
scale_factor = instrument.getNumberParameter('Workflow.Monitor1-ScalingFactor')[0]
except IndexError:
logger.information('No monitor scaling factor found for workspace %s' % ws_name)
return
Expand Down

0 comments on commit 378a845

Please sign in to comment.