File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def create_dataset_id_list_new(
5757
5858 Parameters:
5959 df: Measurements or simulations DataFrame.
60- group_by: Defines grouping of data to plot.
60+ group_by: Defines grouping of data to plot.
6161 id_list:
6262 Grouping list. Each sublist corresponds to a subplot in a figure,
6363 and contains the IDs of observables or simulation conditions for
@@ -73,9 +73,9 @@ def create_dataset_id_list_new(
7373 dataset_id_list = []
7474
7575 if group_by == "simulation" :
76- groupping_col = SIMULATION_CONDITION_ID
76+ grouping_col = SIMULATION_CONDITION_ID
7777 elif group_by == "observable" :
78- groupping_col = OBSERVABLE_ID
78+ grouping_col = OBSERVABLE_ID
7979 if id_list is None :
8080 # this is the default case. If no grouping is specified,
8181 # all observables are plotted. One observable per plot.
@@ -88,7 +88,7 @@ def create_dataset_id_list_new(
8888 plot_id_list = []
8989 for cond_id in sublist :
9090 plot_id_list .extend (
91- list (df [df [groupping_col ] == cond_id ][DATASET_ID ].unique ())
91+ list (df [df [grouping_col ] == cond_id ][DATASET_ID ].unique ())
9292 )
9393 dataset_id_list .append (plot_id_list )
9494 return dataset_id_list
You can’t perform that action at this time.
0 commit comments