Skip to content

Commit 6439e6a

Browse files
authored
MNT #252 similar code OK
1 parent e6e8d0b commit 6439e6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apstools/synApps/calcout.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class UserCalcoutDevice(Device):
175175
calcout9 = Cpt(CalcoutRecord, 'userCalcOut9')
176176
calcout10 = Cpt(CalcoutRecord, 'userCalcOut10')
177177

178-
def reset(self):
178+
def reset(self): # lgtm [py/similar-function]
179179
"""set all fields to default values"""
180180
self.calcout1.reset()
181181
self.calcout2.reset()
@@ -280,8 +280,9 @@ def setup_gaussian_calcout(calcout, ref_signal, center=0, width=1, scale=1, nois
280280
noise=noise)
281281

282282

283-
def setup_lorentzian_calcout(calcout, ref_signal,
284-
center=0, width=1, scale=1, noise=0.05):
283+
def setup_lorentzian_calcout(calcout, ref_signal,
284+
center=0, width=1,
285+
scale=1, noise=0.05): # lgtm [py/similar-function]
285286
"""
286287
setup calcout record for noisy Lorentzian
287288

0 commit comments

Comments
 (0)