mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix: path to mask fixed
This commit is contained in:
@ -91,8 +91,8 @@ class EigerPlot(QWidget):
|
|||||||
if file_name:
|
if file_name:
|
||||||
self.load_mask(file_name)
|
self.load_mask(file_name)
|
||||||
|
|
||||||
def load_mask(self):
|
def load_mask(self, path):
|
||||||
with h5py.File(self.mask_file, "r") as f:
|
with h5py.File(path, "r") as f:
|
||||||
self.mask = f["data"][...]
|
self.mask = f["data"][...]
|
||||||
|
|
||||||
def delete_mask(self):
|
def delete_mask(self):
|
||||||
|
Reference in New Issue
Block a user