Skip to content

Commit

Permalink
attach
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Aug 29, 2024
1 parent 341816d commit 6d823c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion viewer/feminos-viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
lock = threading.Lock()


# ssh://[email protected]:22/home/lobis/R02286_Calibration_109Cd_Vm_260_Vd_94_Pr_1.1_Gain_0x1_Shape_0xF_Clock_0x4.root

class LimitedOrderedDict(OrderedDict):
# An OrderedDict that has a maximum size and removes the oldest item when the size is exceeded
def __init__(self, max_size):
Expand Down Expand Up @@ -1933,8 +1935,9 @@ def attach(self):
self.filepath = filename

self.load_file()
self.plot_graph()

self.auto_update.select()
self.load_file()

def load_file(self):
if self.filepath is None:
Expand Down

0 comments on commit 6d823c2

Please sign in to comment.