From bda912caebf5420a320feb0596f1a1e7def70f54 Mon Sep 17 00:00:00 2001 From: Clare Shanahan Date: Mon, 25 Mar 2024 22:30:24 -0400 Subject: [PATCH] fix markers test --- jdaviz/configs/default/plugins/export/export.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jdaviz/configs/default/plugins/export/export.py b/jdaviz/configs/default/plugins/export/export.py index f7de864488..f3b364f48a 100644 --- a/jdaviz/configs/default/plugins/export/export.py +++ b/jdaviz/configs/default/plugins/export/export.py @@ -244,6 +244,7 @@ def export(self, filename=None, show_dialog=None): self.save_figure(viewer, filename, filetype, show_dialog=show_dialog) elif len(self.table.selected): + filetype = self.table_format.selected if not filename.endswith(filetype): filename += f".{filetype}" self.table.selected_obj.export_table(filename, overwrite=True)