Skip to content

Commit

Permalink
Adjust chunksize for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Nov 23, 2022
1 parent 323c603 commit 2c2bcc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctapipe/tools/tests/test_apply_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_apply_energy_regressor(
f"--output={output_path}",
f"--energy-regressor={energy_regressor_path}",
"--StereoMeanCombiner.weights=konrad",
"--chunk-size=5", # small chunksize so we test multiple chunks for the test file
],
raises=True,
)
Expand Down Expand Up @@ -86,6 +87,7 @@ def test_apply_both(
f"--energy-regressor={energy_regressor_path}",
f"--particle-classifier={particle_classifier_path}",
"--StereoMeanCombiner.weights=konrad",
"--chunk-size=5", # small chunksize so we test multiple chunks for the test file
],
)
assert ret == 0
Expand Down

0 comments on commit 2c2bcc7

Please sign in to comment.