Skip to content

Commit 450660c

Browse files
Gareth Aneurin TribelloGareth Aneurin Tribello
authored andcommitted
Fixed bug if there are a combination of plumed input and requests for mermaid graphs on a page
1 parent fe96cd3 commit 450660c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "PlumedToHTML"
8-
version = "0.110"
8+
version = "0.111"
99
description = "A package for creating prettified HTML for PLUMED files"
1010
authors = [{ name = "Gareth Tribello", email = "[email protected]" }]
1111
maintainers = [{ name = "Daniele Rapetti", email = "[email protected]" }]

src/PlumedToHTML/PlumedToHTML.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ def processMarkdownString( inp, filename, plumedexe, plumed_names, actions, ofil
700700
else :
701701
raise RuntimeError(usemermaid + "is invalid instruction for use mermaid")
702702
ofile.write("```mermaid\n" + mermaidinpt + "\n```\n")
703+
usemermaid = ""
703704

704705
# Check if this is the input for a command line tool and render accordingly
705706
for tool in cltoolregexps :

0 commit comments

Comments
 (0)