fixed few typos
This commit is contained in:
parent
8f922cce86
commit
21d7516789
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue