mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-29 04:28:00 +01:00
fix: path to mask fixed
This commit is contained in:
1 parent
33d1193c96
commit
ef42921c9a
1 file changed
+2
-2
@@ -91,8 +91,8 @@ class EigerPlot(QWidget):
|
||||
if file_name:
|
||||
self.load_mask(file_name)
|
||||
|
||||
def load_mask(self):
|
||||
with h5py.File(self.mask_file, "r") as f:
|
||||
def load_mask(self, path):
|
||||
with h5py.File(path, "r") as f:
|
||||
self.mask = f["data"][...]
|
||||
|
||||
def delete_mask(self):
|
||||
|
||||
Reference in new issue
Block a user