Browse Source

fix pause time between patterns

Tuan Nguyen 1 năm trước cách đây
mục cha
commit
4bad2c5040
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app.py

+ 2 - 2
app.py

@@ -220,8 +220,8 @@ def run_theta_rho_files(
             # Run the main pattern
             # Run the main pattern
             print(f"Running pattern {idx + 1} of {len(file_paths)}: {path}")
             print(f"Running pattern {idx + 1} of {len(file_paths)}: {path}")
             run_theta_rho_file(path)
             run_theta_rho_file(path)
-
-            if clear_pattern and idx < len(file_paths) - 1:
+            
+            if idx < len(file_paths) -1:
                 if stop_requested:
                 if stop_requested:
                     print("Execution stopped before running the next clear pattern.")
                     print("Execution stopped before running the next clear pattern.")
                     return
                     return