Skip to content

Commit

Permalink
Fixes Issue #4 for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bierbower authored and Will Bierbower committed Apr 20, 2015
1 parent f817fc1 commit 2892782
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fauxgeo/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ def set_datatype_and_nodata(self, datatype, nodata_val):
src_nodata_val = self.get_nodata(1)
array[array == src_nodata_val] = nodata_val

array = self.get_band(1)
affine = self.get_affine()
proj = self.get_projection()
return Raster.from_array(array, affine, proj, datatype, nodata_val)
Expand Down

0 comments on commit 2892782

Please sign in to comment.