Skip to content

Commit

Permalink
Try a fix for list of bands in read_geotif
Browse files Browse the repository at this point in the history
  • Loading branch information
k034b363 committed Aug 19, 2024
1 parent 9b93c52 commit 3311657
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plantcv/geospatial/read_geotif.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def read_geotif(filename, bands="R,G,B", cropto=None):
wavelengths[wavelength] = i

elif isinstance(bands, list):
# Keep list_bands to check length in next section
list_bands = bands
for i, wl in enumerate(bands):
wavelengths[wl] = i

Expand Down

0 comments on commit 3311657

Please sign in to comment.