From d28a5c961d2e45905b1583b2eb872da6099d0ada Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:19:53 +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 65eb9e02..774c2db4 100644 --- a/nireports/assembler/report.py +++ b/nireports/assembler/report.py @@ -491,7 +491,7 @@ def _process_orderings(orderings, hits): # remove the all None member if it exists none_member = (None,) * len(orderings) if none_member in all_value_combos: - all_value_combos.remove(tuple(None for k in orderings)) + all_value_combos.remove(none_member) # see what values exist for each entity unique_values = [ {value[idx] for value in all_value_combos} for idx in range(len(orderings))