Skip to content

Commit

Permalink
fixing ._crs attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-halverson committed Nov 5, 2024
1 parent 0bf525b commit 1296d0a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "rasters"
version = "1.3.3"
version = "1.3.4"
description = "raster processing toolkit"
readme = "README.md"
authors = [
Expand Down
18 changes: 9 additions & 9 deletions rasters/CRS.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ def __eq__(self, other: Union[CRS, str]) -> bool:

return super(CRS, self).__eq__(other=other)

@property
def _crs(self) -> Any:
"""
Retrieve the underlying Cython based _CRS object. This is used internally by pyproj
for performance optimization.
Note: The implementation might change in future pyproj versions.
"""
return self._crs # Directly access the _crs attribute
# @property
# def _crs(self) -> Any:
# """
# Retrieve the underlying Cython based _CRS object. This is used internally by pyproj
# for performance optimization.

# Note: The implementation might change in future pyproj versions.
# """
# return self._crs # Directly access the _crs attribute

@property
def epsg_string(self) -> Optional[str]:
Expand Down
2 changes: 1 addition & 1 deletion rasters/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.3
1.3.4

0 comments on commit 1296d0a

Please sign in to comment.