lmaurits / BEASTling

A linguistics-focussed command line tool for generating BEAST XML files.
BSD 2-Clause "Simplified" License
20 stars 6 forks source link

Report could use slightly more clever templating #256

Open Anaphory opened 4 years ago

Anaphory commented 4 years ago

In https://github.com/lmaurits/BEASTling/pull/248, I remarked that the line-by-line format strings constructed in beastling/report.py could be more concise. (There I suggested using f"""…""" strings, which are a relatively new feature, so they are right out.) Some cleaner way to build the report from teplate chunks might be interesting.