We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 497bf4b commit c9b3e43Copy full SHA for c9b3e43
eoreader/products/sar/sar_product.py
@@ -1117,7 +1117,7 @@ def _pre_process_snap(
1117
assert AnyPath(pp_dim).suffix == ".dim", (
1118
f"Assert {pp_dim} is written in BEAM-DIMAP"
1119
)
1120
- assert AnyPath(pp_dim).is_dir(), f"Assert {pp_dim} is a directory"
+ assert AnyPath(pp_dim).exists(), f"Assert {pp_dim} exists"
1121
1122
# With SNAP 13.0.0, there is an issue with CSK and calibration:
1123
# - no output is written for DGM
0 commit comments