Skip to content

Commit

Permalink
Fixes fabio for files with prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicwade committed Oct 10, 2017
1 parent 47486a3 commit 13b0e9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions savu/data/data_structures/data_types/fabIO.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def __get_file_name(self, folder, prefix):
# files = os.listdir(folder)
fullpath = str.strip(folder)
if prefix is not None:
fullpath = os.path.join(folder, prefix)
fullpath += "/*"
fullpath = os.path.join(folder, prefix + '*')
else:
fullpath += "/*"
files = glob.glob(fullpath)
self.nFrames = len(files)

Expand Down

0 comments on commit 13b0e9a

Please sign in to comment.