From 749574bbf00c272e0284dd216eae1e7258b34a76 Mon Sep 17 00:00:00 2001 From: Mizev Andrew <150728785+carpalsgrabby@users.noreply.github.com> Date: Tue, 25 Nov 2025 10:00:16 +0100 Subject: [PATCH] =?UTF-8?q?Add=20a=20small=20=E2=80=9Cno=20layouts?= =?UTF-8?q?=E2=80=9D=20explanatory=20line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- choose_best_layout.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/choose_best_layout.py b/choose_best_layout.py index 8ac4dc2..0931215 100644 --- a/choose_best_layout.py +++ b/choose_best_layout.py @@ -123,8 +123,9 @@ def main() -> None: except Exception as e: # noqa: BLE001 print(f"ERROR for fanout={f}: {e}", file=sys.stderr) - if not layouts: + if not layouts: print("No successful layouts computed. (Did app.py error out for all?)", file=sys.stderr) + print("Hint: try running app.py manually with one of the fanouts to inspect the error.", file=sys.stderr) sys.exit(1) # choose best by metric (minimize)