Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 4734b3e5 authored by usov_i's avatar usov_i
Browse files

Do not export data without a specified parameter

parent dfeeed28
No related branches found
No related tags found
No related merge requests found
......@@ -122,11 +122,7 @@ def create():
file_list.append(os.path.basename(scan["original_filename"]))
scan_table_source.data.update(
file=file_list,
scan=scan_list,
param=param,
fit=[0] * len(scan_list),
export=export,
file=file_list, scan=scan_list, param=param, fit=[0] * len(scan_list), export=export,
)
scan_table_source.selected.indices = []
scan_table_source.selected.indices = [0]
......@@ -781,7 +777,7 @@ def create():
export_data = []
param_data = []
for scan, param in zip(det_data, scan_table_source.data["param"]):
if scan["export"]:
if scan["export"] and param:
export_data.append(scan)
param_data.append(param)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment