Skip to content

Commit 8d0978c

Browse files
Gareth Aneurin TribelloGareth Aneurin Tribello
authored andcommitted
Add directory for new include with replicas thing
1 parent 5024afe commit 8d0978c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PlumedToHTML/PlumedToHTML.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def resolve_includes( srcdir, inpt, nreplicas, foundfiles ) :
375375

376376
final_inpt += "#SHORTCUT " + filename + "\n" + clines + "#EXPANSION " + filename + "\n# The command:\n"
377377
final_inpt += "# " + clines+ "# ensures PLUMED loads the contents of the file called " + filename + "\n"
378-
if nreplicas>1 and os.path.exists( splitname[0] + ".0." + splitname[1] ) :
378+
if nreplicas>1 and os.path.exists( srcdir + "/" + splitname[0] + ".0." + splitname[1] ) :
379379
final_inpt += "# There are different versions of this file on each replica\n"
380380
for i in range(nreplicas) :
381381
f = open( srcdir + "/" + splitname[0] + "." + str(i) + "." + splitname[1], "r" )

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name='PlumedToHTML',
9-
version='0.95',
9+
version='0.96',
1010
author="Gareth Tribello",
1111
author_email="[email protected]",
1212
description="A package for creating pretified HTML for PLUMED files",

0 commit comments

Comments
 (0)