Skip to content

Commit

Permalink
Fix bug in ifg parser bundle
Browse files Browse the repository at this point in the history
Until now, the bundle included the compiled files. I hope that this fixes the bug we had on other systems.
  • Loading branch information
dostuffthatmatters committed Jan 29, 2024
1 parent 137a1a8 commit ba0a406
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,10 @@ spaces_around_subscript_colon = true
[tool.pdm]
distribution = true
build.includes = ["tum_esm_utils"]
build.excludes = ["tests"]
build.excludes = [
"tests",
"tum_esm_utils/ifg_parser/*.mod",
"tum_esm_utils/ifg_parser/*.lock",
"tum_esm_utils/ifg_parser/*.txt",
"tum_esm_utils/ifg_parser/ifg_parser",
]
1 change: 1 addition & 0 deletions tests/test_interferograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
def test_detect_corrupt_ifgs() -> None:
"""create a temporary directory with a file that
is not an interferogram at all"""

with tempfile.TemporaryDirectory() as tmpdir:
with open(os.path.join(tmpdir, "test_ifg"), "w") as f:
f.write("corrupt interferogram")
Expand Down

0 comments on commit ba0a406

Please sign in to comment.