diff --git a/code/python/main.py b/code/python/main.py index 7fcc3f3..702643b 100644 --- a/code/python/main.py +++ b/code/python/main.py @@ -46,17 +46,19 @@ def enter(): # X = 'ANSTRENGEN', # Y = 'AGAT', # X = 'ACGAAG', - Y = 'applses', - X = 'happily ever, lol', + Y = 'apples', + X = 'happily ever after', + # Y = 'applses', + # X = 'happily ever, lol', # Y = 'apple', # X = 'happily', - once = True, - verb = VerboseMode.COSTS, + # once = True, + # verb = VerboseMode.COSTS, # verb = VerboseMode.MOVES, - # verb = VerboseMode.COSTS_AND_MOVES, + verb = VerboseMode.COSTS_AND_MOVES, show = [ # DisplayOptions.ATOMS, - # DisplayOptions.TREE, + DisplayOptions.TREE, ], ); return; diff --git a/code/python/src/hirschberg/types.py b/code/python/src/hirschberg/types.py index 3ec2e0e..df17b2a 100644 --- a/code/python/src/hirschberg/types.py +++ b/code/python/src/hirschberg/types.py @@ -81,7 +81,7 @@ class Alignment(): braces = braces, branch = branch, ); - yield ''; + yield f'{indent}{prefix} │'; yield from self.right._astree_recursion( depth = depth + 1, indent = indent,