diff --git a/nafuma/xanes/io.py b/nafuma/xanes/io.py index 527f300..0633177 100644 --- a/nafuma/xanes/io.py +++ b/nafuma/xanes/io.py @@ -3,7 +3,7 @@ import matplotlib.pyplot as plt import os import numpy as np -def split_xanes_scan(root, destination=None, replace=False): +def split_xanes_scan(filename, destination=None, replace=False): #root is the path to the beamtime-folder #destination should be the path to the processed data