Remove unused vars
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user