diff --git a/__pycache__/orchestrator.cpython-313.pyc b/__pycache__/orchestrator.cpython-313.pyc index 129455f..4abab40 100644 Binary files a/__pycache__/orchestrator.cpython-313.pyc and b/__pycache__/orchestrator.cpython-313.pyc differ diff --git a/orchestrator.py b/orchestrator.py index b264ea0..6ca033c 100755 --- a/orchestrator.py +++ b/orchestrator.py @@ -21,7 +21,7 @@ ITERATIONS_LOG = os.path.join(RESULTS_DIR, "iterations.jsonl") # Remote machines WINDOWS_HOST = "bizzle@100.76.218.38" -WINDOWS_DIR = "~/btc-ml-optimizer" +WINDOWS_DIR = "btc-ml-optimizer" MAC_MINI_HOST = "bizzle@bizzles-mac-mini-1" # Convergence @@ -72,7 +72,7 @@ def ensure_data(): def setup_windows_remote(): """Ensure the remote directory exists on Windows.""" log("Ensuring Windows remote directory exists...", C.CYAN) - run_cmd(f'ssh {WINDOWS_HOST} "mkdir -p {WINDOWS_DIR}"', timeout=30) + run_cmd(f'ssh {WINDOWS_HOST} "if not exist {WINDOWS_DIR} mkdir {WINDOWS_DIR}"', timeout=30) def scp_to_windows(local_path, remote_name):