various fixes for s3fs use (#1312)

* various fixes for s3fs use

* lint
This commit is contained in:
Bruce Martin
2020-03-28 22:26:03 -07:00
committed by GitHub
parent 54a75ffd7e
commit 8fac40b6ae
7 changed files with 26 additions and 10 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ class MatrixDataType(Enum):
class MatrixDataLoader(object):
def __init__(self, location, matrix_data_type=None, app_config=None):
""" location can be a string or DataLocator """
self.location = DataLocator(location)
self.location = DataLocator(location, app_config)
if not self.location.exists():
raise DatasetAccessError("Dataset does not exist.")