We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f460f7 + 1480b6d commit 4e46caaCopy full SHA for 4e46caa
1 file changed
tools/scaling/scaling_cli.py
@@ -391,6 +391,7 @@ def collect_config(
391
columns named "<modality>-1", "<modality>-2".
392
timepoints : list[str]
393
The timepoints to consider in the longitudinal analysis.
394
+ Default None.
395
workflow_id : str
396
The workflow declared name in brainprep CLI.
397
workflow_parameters : str
@@ -439,7 +440,11 @@ def collect_config(
439
440
key = key[1:] if key[0] == "!" else key
441
if key.endswith("s") and key[:-1] in long_dfs:
442
df_ = long_dfs[key[:-1]]
- df_ = df_.filter(regex=f"-({'|'.join(timepoints)})$").copy()
443
+ df_ = (
444
+ df_.filter(regex=f"-({'|'.join(timepoints)})$").copy()
445
+ if timepoints is not None
446
+ else df_.copy()
447
+ )
448
subset = [
449
name
450
for name in df_.columns
0 commit comments