Fix missing log args
This commit is contained in:
parent
9b48fb7a24
commit
a6611976e1
@ -92,9 +92,9 @@ def merge_datasets(dataset_into, dataset_from, log=logger):
|
||||
for ind, scan_from in enumerate(dataset_from):
|
||||
if _parameters_match(scan_into, scan_from) and not merged[ind]:
|
||||
if scan_into["counts"].ndim == 3:
|
||||
merge_h5_scans(scan_into, scan_from)
|
||||
merge_h5_scans(scan_into, scan_from, log=log)
|
||||
else: # scan_into["counts"].ndim == 1
|
||||
merge_scans(scan_into, scan_from)
|
||||
merge_scans(scan_into, scan_from, log=log)
|
||||
merged[ind] = True
|
||||
|
||||
for scan_from in dataset_from:
|
||||
|
Loading…
x
Reference in New Issue
Block a user