Skip to content

Commit

Permalink
tools: FIxed unused variable in imagery/ (#4487)
Browse files Browse the repository at this point in the history
fixed 821
  • Loading branch information
arohanajit authored Oct 11, 2024
1 parent b9a6b68 commit 2e0a8fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ per-file-ignores =
# E741 ambiguous variable name 'l'
__init__.py: F401, F403
man/build_html.py: E501
imagery/i.atcorr/create_iwave.py: F632, F821, W293
doc/python/m.distance.py: E501
doc/gui/wxpython/example/dialogs.py: F401
gui/scripts/d.wms.py: E501
Expand Down
2 changes: 1 addition & 1 deletion imagery/i.atcorr/create_iwave.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def write_cpp(bands, values, sensor, folder):
while c < len(fi) - 1 and fi[c + 1] > rthresh:
c += 1
max_wavelength = np.floor(li[0] * 1000 + (2.5 * c))
print(" %s (%inm - %inm)" % (bands[b], min_wavelength, max_wavelength))
print(" %s (%inm - %inm)" % (bands[0], min_wavelength, max_wavelength))

else:
filter_f = []
Expand Down

0 comments on commit 2e0a8fa

Please sign in to comment.