Skip to content

Commit c8a5283

Browse files
author
Gareth Aneurin Tribello
committed
Small fix to reading in for calculations with replica exchange
1 parent 7069f82 commit c8a5283

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PlumedToHTML/PlumedToHTML.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def resolve_includes( srcdir, inpt, nreplicas, foundfiles ) :
370370
continue
371371
if filename=="" : raise Exception("could not find name of file to include")
372372
if not os.path.exists(filename) : foundfiles = False
373-
splitname = filename.split(".")
373+
splitname = filename.rsplit(".",1)
374374
if len(splitname)>2 : raise Exception("cannot deal with included file named " + filename )
375375

376376
final_inpt += "#SHORTCUT " + filename + "\n" + clines + "#EXPANSION " + filename + "\n# The command:\n"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name='PlumedToHTML',
9-
version='0.99',
9+
version='0.100',
1010
author="Gareth Tribello",
1111
author_email="[email protected]",
1212
description="A package for creating pretified HTML for PLUMED files",
@@ -24,4 +24,4 @@
2424
data_files=[('PlumedToHTML', ['PlumedToHTML/assets/header.html'])],
2525
include_package_data=True,
2626
)
27-
# print(setuptools.find_packages())
27+
# print(setuptools.find_packages())

0 commit comments

Comments
 (0)