diff --git a/xray/azav.py b/xray/azav.py index 515cea4..5ca360e 100644 --- a/xray/azav.py +++ b/xray/azav.py @@ -274,7 +274,7 @@ def doFolder(folder,files='*.edf*',nQ = 1500,force=False,mask=None,dark=10,norm= err[ifname] = e if saveChi: chi_fname = utils.removeExt(fname) + ".chi" - utils.saveTxt(chi_fname,q,i,e,info=ai_as_str(ai),overwrite=True) + utils.saveTxt(chi_fname,q,np.vstack((i,e)),info=ai_as_str(ai),overwrite=True) files = [ utils.getBasename(f) for f in files ] files = np.asarray(files)