Skip to content

Commit 3f07815

Browse files
committed
address review comments
1 parent d891084 commit 3f07815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jwst/pixel_replace/pixel_replace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def fit_profile(self, model):
323323

324324
log.debug(f"Number of profiles with at least one bad pixel: {len(profiles_to_replace)}")
325325

326-
for _i, ind in enumerate(profiles_to_replace):
326+
for ind in profiles_to_replace:
327327
# Use sets for convenient finding of neighboring slices to use in profile creation
328328
adjacent_inds = set(
329329
range(ind - self.pars["n_adjacent_cols"], ind + self.pars["n_adjacent_cols"] + 1)
@@ -660,7 +660,7 @@ def custom_slice(self, dispaxis, index):
660660

661661
def profile_mse(self, scale, median, current):
662662
"""
663-
Create function to provide to optimization routine.
663+
Calculate mean squared error of fitted profile.
664664
665665
Parameters
666666
----------

0 commit comments

Comments
 (0)