From afab176177b31ce601f60eccce0340cf2b17d9b0 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:19:46 +0100 Subject: [PATCH] Update nireports/assembler/report.py Co-authored-by: Chris Markiewicz --- nireports/assembler/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nireports/assembler/report.py b/nireports/assembler/report.py index 4bc386e1..65eb9e02 100644 --- a/nireports/assembler/report.py +++ b/nireports/assembler/report.py @@ -489,7 +489,7 @@ def _process_orderings(orderings, hits): tuple(bids_file.get_entities().get(k, None) for k in orderings) for bids_file in hits } # remove the all None member if it exists - none_member = tuple(None for k in orderings) + none_member = (None,) * len(orderings) if none_member in all_value_combos: all_value_combos.remove(tuple(None for k in orderings)) # see what values exist for each entity