diff --git a/projects/rocprofiler-compute/src/rocprof_compute_tui/views/main_view.py b/projects/rocprofiler-compute/src/rocprof_compute_tui/views/main_view.py index a6b2af2a4e..4e38dad557 100644 --- a/projects/rocprofiler-compute/src/rocprof_compute_tui/views/main_view.py +++ b/projects/rocprofiler-compute/src/rocprof_compute_tui/views/main_view.py @@ -57,7 +57,9 @@ class MainView(Horizontal): super().__init__(id="main-container") self.start_path = ( # NOTE: is cwd the best choice? - Path.cwd() if DEFAULT_START_PATH is None else Path(DEFAULT_START_PATH) + Path.cwd() + if DEFAULT_START_PATH is None + else Path(DEFAULT_START_PATH) ) self.logger = Logger() @@ -169,15 +171,12 @@ class MainView(Horizontal): sys_info_df = file_io.load_sys_info(sysinfo_path) self.logger.info(f"Step 3: sys_info_df type = {type(sys_info_df)}") - self.logger.info( - f"Step 3: sys_info_df shape = { - ( - sys_info_df.shape - if hasattr(sys_info_df, 'shape') - else 'No shape attribute' - ) - }" + shape_info = ( + sys_info_df.shape + if hasattr(sys_info_df, "shape") + else "No shape attribute" ) + self.logger.info(f"Step 3: sys_info_df shape = {shape_info}") except Exception as e: self.logger.error(f"Step 3 failed - Error loading sys_info: {str(e)}")