From 18430895ad390a5faaaa722c7eb2f118ec710877 Mon Sep 17 00:00:00 2001 From: Marco Cammarata Date: Thu, 9 Mar 2017 23:20:15 +0100 Subject: [PATCH] doFolder was not saving error bars in chi files --- xray/azav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)