From f5c92fd342d0495a6a7250e56b34a9878f31507e Mon Sep 17 00:00:00 2001 From: Ali Goodfellow Date: Fri, 13 Feb 2026 17:41:43 +0000 Subject: [PATCH] fixed bug with ascii rendering --- src/graphrc/graph_compare.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphrc/graph_compare.py b/src/graphrc/graph_compare.py index b9407d1..797103e 100644 --- a/src/graphrc/graph_compare.py +++ b/src/graphrc/graph_compare.py @@ -447,17 +447,17 @@ def generate_ascii_summary( """ try: # Pass reactive H indices to always show them, even when include_h=False - ascii_ts = graph_to_ascii(graph_ts, scale=scale, include_h=include_h, show_h_indices=reactive_h_indices) + ascii_ts, _ = graph_to_ascii(graph_ts, scale=scale, include_h=include_h, show_h_indices=reactive_h_indices) if only_ts: # For rotations/inversions, skip Frame 1/2 (bonding is same) return {"ascii_ts": ascii_ts} else: # For bond changes, show all three - ascii_1 = graph_to_ascii( + ascii_1, _ = graph_to_ascii( graph_1, scale=scale, include_h=include_h, show_h_indices=reactive_h_indices, reference=graph_ts ) - ascii_2 = graph_to_ascii( + ascii_2, _ = graph_to_ascii( graph_2, scale=scale, include_h=include_h, show_h_indices=reactive_h_indices, reference=graph_ts ) return {"ascii_ts": ascii_ts, "ascii_ref": ascii_1, "ascii_disp": ascii_2}