Skip to content

Commit

Permalink
modified: metax/gui/main_gui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
byemaxx committed Dec 3, 2024
1 parent 4f6b3b6 commit c1f5457
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions metax/gui/main_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2057,7 +2057,7 @@ def run_after_set_multi_tables(self):
'''

print(f'\n----Multi Table Result----\n{msg_for_print}\n---------------------------\n')
self.logger.write_log(msg_for_print.replace('\n', ''))
self.logger.write_log(msg_for_print.strip())
QMessageBox.information(self.MainWindow, 'Result', msg)
print("\n---------------------------------- Set Multi Table End ----------------------------------\n")
# go to basic analysis tab and the first tab
Expand Down Expand Up @@ -2803,7 +2803,6 @@ def set_multi_table(self, restore_taxafunc=False, saved_obj=None):

try:
print("\n---------------------------------- Set Multi Table ----------------------------------\n")
self.logger.write_log(f'set_multi_table: function: {function}, taxa_level: {taxa_level}, func_threshold: {func_threshold}, outlier_detect_method: {outlier_detect_method}, outlier_handle_method: {outlier_handle_method}, outlier_handle_by_group: {outlier_handle_by_group}, normalize_method: {normalize_method}, transform_method: {transform_method}, batch_group: {batch_meta}, processing_order: {processing_order}')
self.tfa.set_func(function)
# update group and sample in comboBox
# self.update_group_and_sample_combobox() # No longer need due to self.change_event_meta_name_combobox_plot_part()
Expand All @@ -2824,6 +2823,9 @@ def set_multi_table(self, restore_taxafunc=False, saved_obj=None):
'split_func': split_func, 'split_func_params': split_func_params,
'taxa_and_func_only_from_otf': taxa_and_func_only_from_otf,
'quant_method': quant_method}

self.logger.write_log(f"set_multi_table_params: {set_multi_table_params} \
\n\nOutlier_params: {outlier_params} \n\nData_preprocess_params: {data_preprocess_params}", 'i')

def callback_after_set_multi_tables(result, success):
if success:
Expand Down

0 comments on commit c1f5457

Please sign in to comment.