From 21d7516789a1c96f0b15a03d20fda3fe115ed048 Mon Sep 17 00:00:00 2001 From: Marco Cammarata Date: Fri, 27 Jan 2017 15:39:32 +0100 Subject: [PATCH] fixed few typos --- xray/id9.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray/id9.py b/xray/id9.py index 683f29e..4bbe6c5 100644 --- a/xray/id9.py +++ b/xray/id9.py @@ -51,7 +51,7 @@ def doFolder_dataRed(azavStorage,monitor=None,funcForAveraging=np.nanmean, if isinstance(azavStorage,storage.DataStorage): data = azavStorage - folder = os.path.dirname(data.filename) if data.filename is not None else "./" + folder = azavStorage.folder elif os.path.isfile(azavStorage): folder = os.path.dirname(azavStorage) data = storage.DataStorage(azavStorage)