@@ -86,11 +86,11 @@ def emit(self, record):
8686
8787#################### LOGS -> SU2GUI TAB ####################
8888def log (type :str , message , ** kwargs ):
89-
89+
9090 message = str (message )
91- message += " \n "
91+ message += " \n "
9292 if "detail" in kwargs :
93- message += kwargs .get ("detail" ) + " \n "
93+ message += kwargs .get ("detail" ) + " \n "
9494
9595 if type .upper () == "INFO" :
9696 logger .info (message )
@@ -176,7 +176,7 @@ def update_su2_logs():
176176def find_error_message (msg ):
177177 error_found = False
178178 error_lines = []
179-
179+
180180 for line in msg .splitlines ():
181181 if len (error_lines )> 10 :
182182 break
@@ -185,7 +185,7 @@ def find_error_message(msg):
185185 elif "error" in line .lower ().split (' ' ):
186186 error_lines .append (line .strip ())
187187 error_found = True
188-
188+
189189 if error_lines :
190190 error_message = "\n " .join (error_lines )
191191
@@ -212,7 +212,7 @@ def Error_dialog_card():
212212
213213 with vuetify .VContainer (fluid = True ):
214214 markdown .Markdown (
215- content = ('error_msg' , state .error_msg ),
215+ content = ('error_msg' , state .error_msg ),
216216 style = "padding: 3rem; color: Red; background-color: white"
217217 )
218218 vuetify .VBtn ("Close" ,click = (hide_error_dialog_card )
@@ -232,7 +232,7 @@ def Warn_dialog_card():
232232
233233 with vuetify .VContainer (fluid = True ):
234234 markdown .Markdown (
235- content = ('warn_msg' , state .warn_msg ),
235+ content = ('warn_msg' , state .warn_msg ),
236236 style = "padding: 3rem; color: #ffcc00; background-color: white"
237237 )
238238 vuetify .VBtn ("Close" ,click = (hide_warn_dialog_card )
@@ -258,7 +258,7 @@ def logs_tab():
258258 classes = "pa-0 fill-height" ,
259259 style = "position: relative;"
260260 ):
261-
261+
262262 with vuetify .VTabsItems (
263263 value = ("log_tab" ,), style = "width: 100%; height: 100%;"
264264 ):
@@ -270,26 +270,26 @@ def logs_tab():
270270 style = "margin-left: 80%;" ):
271271 vuetify .VIcon ("mdi-arrow-down-bold-box-outline" )
272272 markdown .Markdown (
273- content = ('md_content' , state .md_content ),
273+ content = ('md_content' , state .md_content ),
274274 style = "padding: 0.5rem 3rem; color: black; background-color: white"
275275 )
276276 with vuetify .VTabItem (
277277 value = (1 ,), style = "width: 100%; height: 100%;"
278278 ):
279279 markdown .Markdown (
280- content = ('su2_logs' , state .su2_logs ),
280+ content = ('su2_logs' , state .su2_logs ),
281281 style = "padding: 3rem; color: black; background-color: white" ,
282282 hide_details = True
283283 )
284284
285285# Special handling for binary restart file information
286286def log_binary_restart_info (message , ** kwargs ):
287287 """Special logging function for binary restart file information that's more user-friendly"""
288-
288+
289289 # Create a more informative message
290290 info_message = f"INFO: { message } "
291291 if "detail" in kwargs :
292292 info_message += f" - { kwargs .get ('detail' )} "
293-
293+
294294 # Log as info rather than warning for binary restart file status
295295 logger .info (info_message )
0 commit comments