Skip to content

Commit 26348e5

Browse files
committed
fix a bug
1 parent 9b9844c commit 26348e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ReacNetGenerator/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
###################################
44
## Reaction Network Generator(ReacNetGenerator)
55
## An automatic generator of reaction network for reactive molecular dynamics simulation.
6-
## version 1.1.8
7-
## updated at 2018/6/24 14:00
6+
## version 1.1.9
7+
## updated at 2018/6/25 1:00
88
######### Features #########
99
## * Processing of MD trajectory containing atomic coordinates or bond orders
1010
## * Hidden Markov Model (HMM) based noise filtering
@@ -413,7 +413,7 @@ def printmoleculeSMILESname(moleculefilename,moleculetempfilename,atomname,atomt
413413
for result in results:
414414
name,atoms,bonds=result
415415
mname.append(name)
416-
print(name,atoms,bonds,file=fm)
416+
print(name,",".join([str(x) for x in atoms]),";".join([",".join([str(y) for y in x]) for x in bonds]),file=fm)
417417
semaphore.release()
418418
return mname
419419

@@ -654,4 +654,4 @@ def runanddraw(inputfiletype="lammpsbondfile",inputfilename="bonds.reaxc",atomna
654654
return pos
655655
##### main #####
656656
if __name__ == '__main__':
657-
runanddraw()
657+
runanddraw()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup
22
setup(name='ReacNetGenerator',
3-
version='1.1.8',
3+
version='1.1.9',
44
description='Reaction Network Generator',
55
keywords="reaction network",
66
url='https://github.com/njzjz/ReacNetGenerator',

0 commit comments

Comments
 (0)