Skip to content

Commit

Permalink
making sure UI works from macPro. this refs #76
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanBilheux committed Aug 21, 2023
1 parent f097449 commit bb84ecc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/hyperctui/pre_processing_monitor/event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def update_ob_monitor_table(self,
"""
this method check the new OB folders showing up and updates the table
"""
logging.info(f"updating the monitor table of {DataType.ob}")
logging.info(f"-- checking if new {DataType.ob} showed up and updating the monitor table.")

table_ui = self.parent.ui.obs_tableWidget

Expand All @@ -37,8 +37,10 @@ def update_ob_monitor_table(self,
name_of_output_ob_folder = self.grand_parent.ui.obs_output_location_label.text()
list_ob_folders = o_get.list_ob_folders_in_output_directory(output_folder=name_of_output_ob_folder,
title=title)
logging.info(f"-- list_ob_folders: {list_ob_folders}")
list_folder_previously_found = self.grand_parent.session_dict[
SessionKeys.list_ob_folders_initially_there]
logging.info(f"-- list_folder_previously_found: {list_folder_previously_found}")

if len(list_ob_folders) == len(list_folder_previously_found):
logging.info(f"No new OBs have been found! nothing to update.")
Expand Down
2 changes: 0 additions & 2 deletions src/hyperctui/setup_projections/event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ def produce_unused_formatted_run_title(self, run_title):

full_file_name = os.path.join(mcp_raw, run_title)

print(f"{full_file_name =}")

if not os.path.exists(full_file_name):
return run_title, False

Expand Down

0 comments on commit bb84ecc

Please sign in to comment.