From 931b3e42ae2aff55dbaa65b2cc6ab326b9d7104b Mon Sep 17 00:00:00 2001 From: halvorhv Date: Fri, 24 Jun 2022 19:39:11 +0200 Subject: [PATCH] adding a fixme for split_scan_data-function --- nafuma/xanes/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nafuma/xanes/io.py b/nafuma/xanes/io.py index 87e5ac3..9676608 100644 --- a/nafuma/xanes/io.py +++ b/nafuma/xanes/io.py @@ -127,7 +127,7 @@ def split_scan_data(data: dict, options={}) -> list: edges = added_edges if options['save']: - + #FIXME If there is something wrong with the input file, the file will not be saved but log-file still sais it is saved. Goes from "Saving data to ..." to "All done!" no matter if it fals or not. if options['log']: aux.write_log(message=f'... Saving data to {options["save_folder"]}', options=options)