Skip to content

Commit 38ec540

Browse files
authored
Merge pull request #185 from CosmiQ/iss_check_crs_bugfix
Add elif to handle None crs
2 parents d7d23c9 + 64646c1 commit 38ec540

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solaris/utils/core.py

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def _check_crs(input_crs):
8585
out_crs = input_crs.to_epsg()
8686
elif isinstance(input_crs, int):
8787
out_crs = input_crs
88+
elif input_crs is None:
89+
out_crs = input_crs
8890
return out_crs
8991

9092
def get_data_paths(path, infer=False):

0 commit comments

Comments
 (0)