Skip to content

Commit

Permalink
Disable pruning on test_process_scan_below to ensure our poor solitar…
Browse files Browse the repository at this point in the history
…y grain isn't removed
  • Loading branch information
SylviaWhittle committed Oct 10, 2024
1 parent 835a919 commit 4d8cee1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def test_process_scan_below(regtest, tmp_path, process_scan_config: dict, load_s
process_scan_config["grains"]["smallest_grain_size_nm2"] = 10
process_scan_config["grains"]["absolute_area_threshold"]["below"] = [1, 1000000000]
process_scan_config["grains"]["direction"] = "below"
# Make sure the pruning won't remove our only grain
process_scan_config["disordered_tracing"]["pruning_params"]["max_length"] = None
img_dic = load_scan_data.img_dict
_, results, _, img_stats, _, _ = process_scan(
topostats_object=img_dic["minicircle_small"],
Expand Down

0 comments on commit 4d8cee1

Please sign in to comment.