Skip to content

Commit f0cf5d4

Browse files
Update with dynamic amount of output files
1 parent 6724bad commit f0cf5d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_cli(zarr_path, tmp_path, data):
2626
assert type(timing["runtime"]) is float
2727
assert timing["runtime"] > 0
2828

29-
assert len([f for f in tmp_path.glob("*.parquet")]) == 10
29+
assert len([f for f in tmp_path.glob("*.parquet")]) == 1
3030
assert (tmp_path / "scip.log").exists()
3131

3232
df = pandas.concat(

test/test_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_main(mode, limit, expected_n, with_replacement, zarr_path, tmp_path, da
3232
)
3333

3434
assert runtime is not None
35-
assert len([f for f in tmp_path.glob("*.parquet")]) == 10
35+
assert len([f for f in tmp_path.glob("*.parquet")]) == 1
3636
assert (tmp_path / "scip.log").exists()
3737

3838
df = pandas.concat(
@@ -68,7 +68,7 @@ def test_main_with_correction(tiffs_folder, tmp_path, data):
6868
)
6969

7070
assert runtime is not None
71-
assert len([f for f in tmp_path.glob("*.parquet")]) == 10
71+
assert len([f for f in tmp_path.glob("*.parquet")]) == 1
7272
assert (tmp_path / "scip.log").exists()
7373

7474
df = pandas.concat(

0 commit comments

Comments
 (0)