Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz-bot committed Jun 24, 2018
1 parent 9b9844c commit 26348e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ReacNetGenerator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
###################################
## Reaction Network Generator(ReacNetGenerator)
## An automatic generator of reaction network for reactive molecular dynamics simulation.
## version 1.1.8
## updated at 2018/6/24 14:00
## version 1.1.9
## updated at 2018/6/25 1:00
######### Features #########
## * Processing of MD trajectory containing atomic coordinates or bond orders
## * Hidden Markov Model (HMM) based noise filtering
Expand Down Expand Up @@ -413,7 +413,7 @@ def printmoleculeSMILESname(moleculefilename,moleculetempfilename,atomname,atomt
for result in results:
name,atoms,bonds=result
mname.append(name)
print(name,atoms,bonds,file=fm)
print(name,",".join([str(x) for x in atoms]),";".join([",".join([str(y) for y in x]) for x in bonds]),file=fm)
semaphore.release()
return mname

Expand Down Expand Up @@ -654,4 +654,4 @@ def runanddraw(inputfiletype="lammpsbondfile",inputfilename="bonds.reaxc",atomna
return pos
##### main #####
if __name__ == '__main__':
runanddraw()
runanddraw()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup
setup(name='ReacNetGenerator',
version='1.1.8',
version='1.1.9',
description='Reaction Network Generator',
keywords="reaction network",
url='https://github.com/njzjz/ReacNetGenerator',
Expand Down

0 comments on commit 26348e5

Please sign in to comment.