diff --git a/environment.yml b/environment.yml index 63211da..0f70403 100644 --- a/environment.yml +++ b/environment.yml @@ -18,8 +18,7 @@ dependencies: - tomopy - pyqtgraph - tqdm - - dxchange + - pip - pip: - NeuNorm - - inflect - neutronbraggedge diff --git a/src/hyperctui/autonomous_reconstruction/event_handler.py b/src/hyperctui/autonomous_reconstruction/event_handler.py index f12627e..4d0c04d 100644 --- a/src/hyperctui/autonomous_reconstruction/event_handler.py +++ b/src/hyperctui/autonomous_reconstruction/event_handler.py @@ -351,6 +351,13 @@ def checking_state_of_projections_table(self): self.parent.ui.autonomous_reconstruction_tabWidget.setCurrentIndex(1) self.initialize_reconstruction_table() + # fill table with as many as TOF regions reconstruction requested + # tof_regions_dict = self.parent.session_dict[SessionKeys.tof_regions] + tof_regions_dict = self.parent.tof_regions + o_table = TableHandler(table_ui=self.parent.ui.autonomous_reconstructions_tableWidget) + + + def initialize_reconstruction_table(self): # fill table with as many as TOF regions reconstruction requested @@ -414,6 +421,8 @@ def refresh_reconstruction_table(self): """ pass + + def fill_table_with_list_folders(self, list_folders=None, starting_row_index=0): if list_folders is None: diff --git a/src/hyperctui/pre_processing_monitor/event_handler.py b/src/hyperctui/pre_processing_monitor/event_handler.py index 4d65cd4..2c3ef5e 100644 --- a/src/hyperctui/pre_processing_monitor/event_handler.py +++ b/src/hyperctui/pre_processing_monitor/event_handler.py @@ -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 @@ -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.") diff --git a/src/hyperctui/setup_projections/event_handler.py b/src/hyperctui/setup_projections/event_handler.py index 4de15ef..0126ef3 100644 --- a/src/hyperctui/setup_projections/event_handler.py +++ b/src/hyperctui/setup_projections/event_handler.py @@ -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 diff --git a/static/reconstruction_config.json b/static/reconstruction_config.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/static/reconstruction_config.json @@ -0,0 +1 @@ +{} \ No newline at end of file