Skip to content

Commit 7e290ac

Browse files
Merge pull request #14 from kassoulet/bugfix/is_compatible_with_error
Bugfix/is compatible with error
2 parents 86ed672 + 95f3146 commit 7e290ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
pip install pytest
6868
if [ -f requirements_dev.txt ]; then
6969
pip install -r requirements_dev.txt
70+
7071
# conda install -n karios -c conda-forge --file requirements_dev.txt
7172
fi
7273

karios/core/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def is_compatible_with(self, image: GdalRasterImage) -> bool:
337337
"""
338338
return (
339339
self.spatial_ref.IsSame(image.spatial_ref)
340-
and (self._geo == self._geo)
340+
and (self._geo == image._geo)
341341
and (self.x_size == image.x_size)
342342
and (self.y_size == image.y_size)
343343
)

0 commit comments

Comments
 (0)