diff --git a/pyzebra/app/panel_hdf_anatric.py b/pyzebra/app/panel_hdf_anatric.py index 716a3e2..930381c 100644 --- a/pyzebra/app/panel_hdf_anatric.py +++ b/pyzebra/app/panel_hdf_anatric.py @@ -6,17 +6,7 @@ import tempfile from bokeh.io import curdoc from bokeh.layouts import column, row -from bokeh.models import ( - Button, - Div, - FileInput, - Select, - Spacer, - TabPanel, - Tabs, - TextAreaInput, - TextInput, -) +from bokeh.models import Button, Div, FileInput, Select, TabPanel, Tabs, TextAreaInput, TextInput import pyzebra from pyzebra import DATA_FACTORY_IMPLEMENTATION, REFLECTION_PRINTER_FORMATS diff --git a/pyzebra/app/panel_hdf_viewer.py b/pyzebra/app/panel_hdf_viewer.py index cc49b36..362f04e 100644 --- a/pyzebra/app/panel_hdf_viewer.py +++ b/pyzebra/app/panel_hdf_viewer.py @@ -106,7 +106,6 @@ def create(): nonlocal dataset new_data = [] for f_path in file_select.value: - f_name = os.path.basename(f_path) try: file_data = [pyzebra.read_detector_data(f_path)] except Exception as e: @@ -130,7 +129,6 @@ def create(): def file_append_button_callback(): file_data = [] for f_path in file_select.value: - f_name = os.path.basename(f_path) try: file_data = [pyzebra.read_detector_data(f_path)] except Exception as e: