Skip to content

Commit 82c3836

Browse files
committed
Drop enumerate when looping over bands
1 parent 2c86fc9 commit 82c3836

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

galsim/roman/roman_bandpass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def getBandpasses(AB_zeropoint=True, default_thin_trunc=True, include_all_bands=
150150
# Set up a dictionary.
151151
bandpass_dict = {}
152152
# Loop over the bands.
153-
for index, bp_name in enumerate(bandnames):
153+
for bp_name in bandnames:
154154
if include_all_bands is False and bp_name in non_imaging_bands:
155155
continue
156156

0 commit comments

Comments
 (0)