Skip to content

Commit

Permalink
calibrate full: also use peaks from file if given, re #11749
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeMPouzols committed Jun 19, 2015
1 parent 520094f commit d72c221
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _fitPeaks(self, ws, wsIndex, expectedPeaksD):
alg = self.createChildAlgorithm('EnginXFitPeaks')
alg.setProperty('InputWorkspace', ws)
alg.setProperty('WorkspaceIndex', wsIndex) # There should be only one index anyway
alg.setProperty('ExpectedPeaks', self.getProperty('ExpectedPeaks').value)
alg.setProperty('ExpectedPeaks', expectedPeaksD)
alg.execute()

difc = alg.getProperty('Difc').value
Expand Down

0 comments on commit d72c221

Please sign in to comment.