Skip to content

Commit

Permalink
Removed hardcoded '.h5' extension in Foxhound.
Browse files Browse the repository at this point in the history
  • Loading branch information
dotsdl committed Sep 5, 2015
1 parent 25b4662 commit 6b6ca14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datreant/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _check_basedirs(self):
found = []
for uuid in uuids:
candidate = glob.glob(
os.path.join(path, '*.{}.h5'.format(uuid)))
os.path.join(path, '*.{}.*'.format(uuid)))

if candidate:
outpaths[uuid] = os.path.abspath(candidate[0])
Expand All @@ -196,7 +196,7 @@ def _check_basedirs(self):
candidate = glob.glob(
os.path.join(
self.caller._backend.get_location(),
path, '*.{}.h5'.format(uuid)))
path, '*.{}.*'.format(uuid)))

if candidate:
outpaths[uuid] = os.path.abspath(candidate[0])
Expand Down

0 comments on commit 6b6ca14

Please sign in to comment.