Convenience fix for restoring chain-merged scans
This commit is contained in:
parent
e29b4e7da8
commit
4c8037af5c
@ -149,6 +149,10 @@ def restore_scan(scan):
|
||||
tmp = scan["init_scan"]
|
||||
scan.clear()
|
||||
scan.update(tmp)
|
||||
# force scan export to True, otherwise in the sequence of incorrectly merged scans
|
||||
# a <- b <- c the scan b will be restored with scan["export"] = False if restoring executed
|
||||
# in the same order, i.e. restore a -> restore b
|
||||
scan["export"] = True
|
||||
|
||||
|
||||
def fit_scan(scan, model_dict, fit_from=None, fit_to=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user