Просмотр исходного кода

chore: Comment out test code in new_col_translate.py

mrh 1 год назад
Родитель
Сommit
1343e7ffcd
1 измененных файлов с 10 добавлено и 10 удалено
  1. 10 10
      mylib/new_col_translate.py

+ 10 - 10
mylib/new_col_translate.py

@@ -190,13 +190,13 @@ if __name__ == "__main__":
     found_columns = search_keywords(data, header, ["搜索词", "类别"], row_index=0)
     print(f"找到的列: {found_columns}")
     
-    # 完整流程测试
-    output_path = "/home/mrh/code/excel_tool/temp/测试_processed.csv"
-    process_csv(
-        input_file=file_path,
-        output_file=output_path,
-        columns=found_columns,  # 使用搜索到的列
-        start_row=1,
-        source_lang='auto',
-        target_lang='zh-CN'
-    )
+    # # 完整流程测试
+    # output_path = "/home/mrh/code/excel_tool/temp/测试_processed.csv"
+    # process_csv(
+    #     input_file=file_path,
+    #     output_file=output_path,
+    #     columns=found_columns,  # 使用搜索到的列
+    #     start_row=1,
+    #     source_lang='auto',
+    #     target_lang='zh-CN'
+    # )