Skip to content

Commit 6a8b9c0

Browse files
committed
lint fix
1 parent 2fc0d18 commit 6a8b9c0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

qiskit_experiments/curve_analysis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# copyright notice, and modified files need to carry a notice indicating
1111
# that they have been altered from the originals.
1212

13-
"""
13+
r"""
1414
=========================================================
1515
Curve Analysis (:mod:`qiskit_experiments.curve_analysis`)
1616
=========================================================

qiskit_experiments/curve_analysis/curve_analysis.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def curve_fit(
255255
dof=dof,
256256
x_range=xdata_range,
257257
y_range=ydata_range,
258-
fit_mdoel=fit_model_repr,
258+
fit_model=fit_model_repr,
259259
group=func.group,
260260
)
261261

@@ -708,7 +708,9 @@ def _run_analysis(
708708

709709
# Valid data index for this group
710710
if len(self.__series__) > 1:
711-
series_inds = [i for i, s in enumerate(self.__series__) if s.group == fit_func.group]
711+
series_inds = [
712+
i for i, s in enumerate(self.__series__) if s.group == fit_func.group
713+
]
712714
data_inds = np.full(index.size, False, dtype=bool)
713715
for i in series_inds:
714716
data_inds |= index == i

0 commit comments

Comments
 (0)