Skip to content

Commit

Permalink
Merge pull request #23 from TUW-GEO/wpreimes-patch-1
Browse files Browse the repository at this point in the history
Update img2ts.py
  • Loading branch information
wpreimes committed Feb 21, 2024
2 parents 0ebd632 + cf6acd7 commit c3f5442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Unreleased changes in master branch
===================================

- Added option to parallelize Img2Ts process
- Fix bug where a wrong grid attribute was used.

Version 0.10
============
Expand Down
2 changes: 1 addition & 1 deletion src/repurpose/img2ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self,
if not hasattr(self.imgin, 'grid'):
self.input_grid = input_grid
else:
self.input_grid = self.imgin.glob_grid
self.input_grid = self.imgin.grid

if self.input_grid is None and target_grid is None:
raise ValueError("Either the input dataset has to have a grid, "
Expand Down

0 comments on commit c3f5442

Please sign in to comment.