Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Sevak committed Nov 30, 2023
1 parent 2ac248e commit d0e5054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uncoverml/interface_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def create_thumbnail(config, res_type):
data = src.read(1)

stretched_data = stretch_raster(data)
out_image = Image.fromarray(stretched_data.astype('unit8'), 'L')
out_image = Image.fromarray(stretched_data.astype('uint8'), 'L')
out_file = res_dir / f'{res_type}_thumbnail.png'
out_image.save(str(out_file))
print(str(out_file))
Expand Down

0 comments on commit d0e5054

Please sign in to comment.