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)