Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lazyflow/operators/ioOperators/opInputDataReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def _attemptOpenAsRawBinary(self, filePath):
raise OpInputDataReader.DatasetReadError(*e.args) from e

def _attemptOpenAsH5BlockStore(self, filePath):
if not os.path.splitext(filePath)[1] == ".json":
if not (_supports_h5blockreader and os.path.splitext(filePath)[1] == ".json"):
return ([], None)

op = OpH5BlockStoreReader(parent=self)
Expand Down