Skip to content

Commit 0741e58

Browse files
Fixed an error, where we checked for an empty condition table (which is true if we only have an index) (#237)
1 parent e61aa11 commit 0741e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/petab_gui/views/simple_plot_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _render_on_main_thread(self, payload):
180180
meas_df is None
181181
or meas_df.empty
182182
or cond_df is None
183-
or cond_df.empty
183+
or not len(cond_df) > 0
184184
):
185185
self._update_tabs(None)
186186
return

0 commit comments

Comments
 (0)