Remove unused vars

This commit is contained in:
2026-05-12 10:54:28 +02:00
parent 22d1229384
commit 8e6e369dc2
2 changed files with 1 additions and 13 deletions
+1 -11
View File
@@ -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
-2
View File
@@ -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: