From dcd0f93c879180785b922e5d5b68cfc3985fd814 Mon Sep 17 00:00:00 2001 From: Gareth Aneurin Tribello Date: Fri, 10 May 2024 21:39:50 +0100 Subject: [PATCH] Fix on previous commit --- PlumedToHTML/PlumedFormatter.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PlumedToHTML/PlumedFormatter.py b/PlumedToHTML/PlumedFormatter.py index 71d8338..82a3c46 100644 --- a/PlumedToHTML/PlumedFormatter.py +++ b/PlumedToHTML/PlumedFormatter.py @@ -173,7 +173,7 @@ def format(self, tokensource, outfile): if kkkk=="output" or self.keyword_dict[action]["syntax"][kkkk]["multiple"]==0 : continue if kkkk in value.strip() : foundkey, desc = True, self.keyword_dict[action]["syntax"][kkkk.upper()]["description"].split('.')[0] if not self.broken and not notooltips and not foundkey : - if self.hasload : foundkey, desc = True, 'There is a possibity that this action is not part of PLUMED and was included by using a LOAD command. This LOADing replaces one of the actions that is in PLUMED. You should thus be wary of the documentation in these tooltips and look at the cpp file that was loaded More details' + if self.hasload : foundkey, desc = True, 'There is a possibity that this action is not part of PLUMED and was included by using a LOAD command. This LOADing replaces one of the actions that is in PLUMED. You should thus be wary of the documentation in these tooltips and look at the cpp file that was loaded More details' else : raise Exception("keyword " + value.strip().upper() + " is not in syntax for action " + action ) if desc=="" and self.broken : outfile.write( value ) else : outfile.write('
' + value + '
' + desc + '
') diff --git a/setup.py b/setup.py index 4e22d13..33232ad 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name='PlumedToHTML', - version='0.62', + version='0.63', author="Gareth Tribello", author_email="gareth.tribello@gmail.com", description="A package for creating pretified HTML for PLUMED files",