Skip to content

Commit 9fa9045

Browse files
Update petab/v1/visualize/plotting.py
Co-authored-by: Daniel Weindl <[email protected]>
1 parent 86f6fb3 commit 9fa9045

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

petab/v1/visualize/plotting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,14 +862,14 @@ def parse_from_id_list(
862862
if ids_per_plot is None:
863863
# this is the default case. If no grouping is specified,
864864
# each group_by category will be plotted on a separate plot
865-
unique_obs_list = self._data_df[
865+
unique_ids_list = self._data_df[
866866
{
867867
"dataset": DATASET_ID,
868868
"observable": OBSERVABLE_ID,
869869
"simulation": SIMULATION_CONDITION_ID,
870870
}[group_by]
871871
].unique()
872-
ids_per_plot = [[obs_id] for obs_id in unique_obs_list]
872+
ids_per_plot = [[id_] for id_ in unique_ids_list]
873873

874874
if group_by == "dataset" and DATASET_ID not in self._data_df:
875875
raise ValueError(

0 commit comments

Comments
 (0)