Skip to content

Commit

Permalink
Fix fetching malt0 test data
Browse files Browse the repository at this point in the history
  • Loading branch information
leavauchier committed Nov 30, 2023
1 parent 9014e3c commit f2afa6f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@


malt0_files = [
"malt0/c1/mnx/tile_splitted_2818_32247.laz",
"malt0/c1/mnx/tile_splitted_2818_32248.laz",
"malt0/ref/mnx/tile_splitted_2818_32247.laz",
"malt0/ref/mnx/tile_splitted_2818_32248.laz",
"malt0/ref/occupancy/tile_splitted_2818_32247.laz",
"malt0/ref/occupancy/tile_splitted_2818_32248.laz",
"malt0/c1/intrinsic/mnx/tile_splitted_2818_32247.tif",
"malt0/c1/intrinsic/mnx/tile_splitted_2818_32248.tif",
"malt0/ref/intrinsic/mnx/tile_splitted_2818_32247.tif",
"malt0/ref/intrinsic/mnx/tile_splitted_2818_32248.tif",
"malt0/ref/intrinsic/occupancy/tile_splitted_2818_32247.tif",
"malt0/ref/intrinsic/occupancy/tile_splitted_2818_32248.tif",
]


Expand All @@ -64,7 +64,10 @@ def download_test1_data():

def download_malt0_data():
test1 = Path("./data/malt0")
[(test1 / sub_dir).mkdir(parents=True, exist_ok=True) for sub_dir in ["ref/mnx", "ref/occupancy", "c1/mnx"]]
[
(test1 / sub_dir).mkdir(parents=True, exist_ok=True)
for sub_dir in ["ref/intrinsic/mnx", "ref/intrinsic/occupancy", "c1/intrinsic/mnx"]
]

for file in malt0_files:
local_file = local_path / file
Expand Down

0 comments on commit f2afa6f

Please sign in to comment.