@@ -172,8 +172,8 @@ def _build_action_buttons(self) -> None:
172172 (self .ui_config .btn_width * 2 ) + 20
173173 self .add_button (
174174 message = 'Train' ,
175- position = ( btn_auc_x , 450 ) ,
176- size = ( self .ui_config .btn_width , self .ui_config .btn_height ) ,
175+ position = [ btn_auc_x , 450 ] ,
176+ size = [ self .ui_config .btn_width , self .ui_config .btn_height ] ,
177177 background_color = 'LightSeaGreen' ,
178178 text_color = 'black' ,
179179 font_family = self .ui_config .font ,
@@ -182,7 +182,7 @@ def _build_action_buttons(self) -> None:
182182 def _build_start_button (self ) -> None :
183183 """Build the Start Session button."""
184184 btn_start_width = self .ui_config .btn_width * 2 + 10
185- btn_start_x = self .width - (self .ui_config .padding + btn_start_width )
185+ btn_start_x = self ._width - (self .ui_config .padding + btn_start_width )
186186 self .add_button (
187187 message = 'Start Session' ,
188188 position = [btn_start_x , 440 ],
@@ -196,7 +196,7 @@ def _build_create_experiment_button(self) -> None:
196196 """Build the Create Experiment button."""
197197 self .add_button (
198198 message = '+' ,
199- position = [self .width - self .ui_config .padding - 200 , 260 ],
199+ position = [self ._width - self .ui_config .padding - 200 , 260 ],
200200 size = [35 , self .ui_config .btn_height - 10 ],
201201 background_color = 'green' ,
202202 action = self .create_experiment ,
@@ -301,7 +301,7 @@ def build_images(self) -> None:
301301 # NEU logo
302302 self .add_image (
303303 path = f'{ STATIC_IMAGES_PATH } /gui/neu.png' ,
304- position = [self .width - self .ui_config .padding - 110 , 0 ],
304+ position = [self ._width - self .ui_config .padding - 110 , 0 ],
305305 size = 100 )
306306
307307 def build_assets (self ) -> None :
@@ -517,7 +517,7 @@ def load_experiments(self) -> List[str]:
517517 Returns:
518518 List[str]: List of experiment names.
519519 """
520- return load_experiments ().keys ()
520+ return list ( load_experiments ().keys () )
521521
522522 def start_experiment (self ) -> None :
523523 """Start an experiment session."""
0 commit comments