Skip to content

Commit

Permalink
Allow files with prefix .hdf to be processed
Browse files Browse the repository at this point in the history
  • Loading branch information
GDYendell committed Mar 1, 2017
1 parent 85671eb commit 9ad90b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vdsgen/vdsgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def find_files(path, prefix):
list: HDF5 files in folder that have the given prefix
"""
regex = re.compile(prefix + r"\d\.(hdf5|h5)")
regex = re.compile(prefix + r"\d+\.(hdf5|hdf|h5)")

files = []
for file_ in sorted(os.listdir(path)):
Expand Down

0 comments on commit 9ad90b4

Please sign in to comment.