We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
File->New
1 parent 8c29161 commit d1942d5Copy full SHA for d1942d5
2 files changed
src/petab_gui/controllers/mother_controller.py
@@ -823,6 +823,7 @@ def new_file(self):
823
controller.clear_model()
824
continue
825
controller.clear_table()
826
+ self.view.plot_dock.plot_it()
827
828
def check_model(self):
829
"""Check the consistency of the model. And log the results."""
src/petab_gui/models/pandas_table_model.py
@@ -728,6 +728,13 @@ def clear_table(self):
728
"""Clear all data from the table."""
729
self.beginResetModel()
730
self._data_frame.drop(self._data_frame.index, inplace=True)
731
+ self._data_frame.drop(
732
+ self._data_frame.columns.difference(
733
+ COLUMNS[self.table_type].keys()
734
+ ),
735
+ axis=1,
736
+ inplace=True,
737
+ )
738
self.endResetModel()
739
740
def check_selection(self):
0 commit comments