Skip to content

Commit e6297ef

Browse files
authored
Update __init__.py
1 parent f9e8d19 commit e6297ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ReacNetGenerator/__init__.py

Lines changed: 3 additions & 3 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.7
7-
## updated at 2018/6/24 2:00
6+
## version 1.1.8
7+
## updated at 2018/6/24 14:00
88
######### Features #########
99
## * Processing of MD trajectory containing atomic coordinates or bond orders
1010
## * Hidden Markov Model (HMM) based noise filtering
@@ -289,7 +289,7 @@ def calhmm(originfilename,hmmfilename,moleculetempfilename,moleculetemp2filename
289289
def getorigin(item):
290290
line,(step,)=item
291291
list=line.split()
292-
value=np.array([int(x) for x in list[-1].split(",")])
292+
value=np.array([int(x)-1 for x in list[-1].split(",")])
293293
origin=np.zeros(step,dtype=np.int)
294294
origin[value]=1
295295
return origin,line

0 commit comments

Comments
 (0)