@@ -68,7 +68,9 @@ def __init__(self):
6868 self .results_panel .on_click (self .update_streams )
6969
7070 # Start the auto-update process
71- self .auto_update_datasets ()
71+ # TODO: debug
72+ # self.auto_update_datasets()
73+
7274 # Initialize with current results
7375 self .update_results (None )
7476
@@ -129,14 +131,14 @@ def update_streams(self, event):
129131 streams_df = pd .DataFrame ({"Stream name" : [no_streams_text ], "Ephys GUI View" : ["" ]})
130132 self .streams_panel .value = streams_df
131133
132- def auto_update_datasets (self ):
133- # Update the search options
134- print (f"Updating datasets. Current number of ecephys processed assets: { len (self .search_options .df )} " )
135- self .search_options .update_options ()
136- print (f"Updated datasets. New number of ecephys processed assets: { len (self .search_options .df )} " )
134+ # def auto_update_datasets(self):
135+ # # Update the search options
136+ # print(f"Updating datasets. Current number of ecephys processed assets: {len(self.search_options.df)}")
137+ # self.search_options.update_options()
138+ # print(f"Updated datasets. New number of ecephys processed assets: {len(self.search_options.df)}")
137139
138- # Schedule next run in 1 hour (3600 seconds)
139- threading .Timer (3600 , self .auto_update_datasets ).start ()
140+ # # Schedule next run in 1 hour (3600 seconds)
141+ # threading.Timer(3600, self.auto_update_datasets).start()
140142
141143 def panel (self ):
142144 """Build a Panel object representing the Ephys Portal."""
0 commit comments