Skip to content

Commit 7a03164

Browse files
authored
Merge pull request #1759 from ChristosT/enable-fch5-support
Read fch5 files as framecache
2 parents e36ac12 + a1aa4c4 commit 7a03164

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hexrdgui/image_file_manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ def open_file(self, f, options=None):
9595
ims = imageseries.open(
9696
f, 'hdf5', path=self.path[0], dataname=self.path[1])
9797
elif ext == '.npz':
98-
ims = imageseries.open(f, 'frame-cache')
98+
ims = imageseries.open(f, 'frame-cache', style='npz')
99+
elif ext == '.fch5':
100+
ims = imageseries.open(f, 'frame-cache', style='fch5')
99101
elif ext == '.yml':
100102
data = yaml.load(open(f))
101103
form = next(iter(data))

0 commit comments

Comments
 (0)