Skip to content

Commit

Permalink
Read fch5 files as framecache
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristosT committed Nov 13, 2024
1 parent e36ac12 commit a1aa4c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hexrdgui/image_file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ def open_file(self, f, options=None):
ims = imageseries.open(
f, 'hdf5', path=self.path[0], dataname=self.path[1])
elif ext == '.npz':
ims = imageseries.open(f, 'frame-cache')
ims = imageseries.open(f, 'frame-cache', style='npz')
elif ext == '.fch5':
ims = imageseries.open(f, 'frame-cache', style='fch5')
elif ext == '.yml':
data = yaml.load(open(f))
form = next(iter(data))
Expand Down

0 comments on commit a1aa4c4

Please sign in to comment.