Skip to content

Commit

Permalink
remove latexbreak printing in html
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjwilson committed Jul 15, 2024
1 parent 856fcd8 commit 2bc9b72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ecoval/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,8 @@ def validate(title="Automated model evaluation", author=None, variables = "all",
new_lines.append(line)
# loop through all lines in lines and replace the_test_status with True
for i in range(len(new_lines)):
if build == "html":
new_lines[i] = new_lines[i].replace("latexpagebreak", "")
if "the_test_status" in new_lines[i]:
if test:
new_lines[i] = new_lines[i].replace("the_test_status", "True")
Expand Down

0 comments on commit 2bc9b72

Please sign in to comment.