Fix hkl precision not affecting file export

This commit is contained in:
usov_i 2021-01-06 14:20:54 +01:00
parent d42a53ed47
commit 1761003d8a

View File

@ -548,7 +548,12 @@ def create():
if not export:
del export_data["scan"][s]
pyzebra.export_1D(export_data, temp_file, lorentz=lorentz_toggle.active)
pyzebra.export_1D(
export_data,
temp_file,
lorentz=lorentz_toggle.active,
hkl_precision=int(hkl_precision_select.value),
)
for ext in (".comm", ".incomm"):
fname = temp_file + ext