We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d6360 commit 4f933bdCopy full SHA for 4f933bd
niworkflows/reports/core.py
@@ -463,8 +463,7 @@ def _process_orderings(orderings, layout):
463
]
464
# if all values are None for an entity, we do not want to keep that entity
465
keep_idx = [
466
- False if (len(val_set) == 1 and None in val_set) or not val_set else True
467
- for val_set in unique_values
+ not (len(val_set) == 1 and None in val_set or not val_set) for val_set in unique_values
468
469
# the "kept" entities
470
entities = list(compress(orderings, keep_idx))
0 commit comments