From 67d9251a3a0c99dc39495db5eee1837eda394d62 Mon Sep 17 00:00:00 2001 From: Nathan Painchaud Date: Mon, 22 Jul 2024 19:47:42 +0200 Subject: [PATCH] Change parser to allow bypassing tabular attributes entirely in 2D embedding plots --- didactic/scripts/cardiac_multimodal_representation_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/didactic/scripts/cardiac_multimodal_representation_plot.py b/didactic/scripts/cardiac_multimodal_representation_plot.py index 1dc5359..35b5d5f 100644 --- a/didactic/scripts/cardiac_multimodal_representation_plot.py +++ b/didactic/scripts/cardiac_multimodal_representation_plot.py @@ -163,7 +163,7 @@ def main(): parser.add_argument( "--plot_tabular_attrs", type=TabularAttribute, - nargs="+", + nargs="*", choices=list(TabularAttribute), default=list(TabularAttribute), help="Patients' tabular attributes w.r.t. which to plot the embedding",