From f7db3c59f7784b6fa499422375cec377b4d004bf Mon Sep 17 00:00:00 2001 From: Peter Van Dyken Date: Fri, 2 Feb 2024 19:47:38 -0500 Subject: [PATCH] Exclude `run` from test strategy The pybids internal formatting of values as integers caused problems --- snakebids/tests/test_generate_inputs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snakebids/tests/test_generate_inputs.py b/snakebids/tests/test_generate_inputs.py index d2383ecb..f8003d66 100644 --- a/snakebids/tests/test_generate_inputs.py +++ b/snakebids/tests/test_generate_inputs.py @@ -710,8 +710,9 @@ def test_get_method_selects_via_direct_matching( name="template", min_entities=2, max_entities=2, - # Again, extension doesn't work with regex - blacklist_entities={"extension"}, + # Again, extension doesn't work with regex. run causes problem with + # numeral strings + blacklist_entities={"extension", "run"}, min_values=2, restrict_patterns=True, unique=True,