mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-25 05:31:51 +02:00
Fix bug in convertState
This commit is contained in:
parent
e261d38026
commit
94d2b650d4
@ -113,7 +113,7 @@ class dataFileBase(object):
|
|||||||
tmplst.append((mul,symm,trsp,tygrp))
|
tmplst.append((mul,symm,trsp,tygrp))
|
||||||
lst=[]
|
lst=[]
|
||||||
for index,item in enumerate(tmplst):
|
for index,item in enumerate(tmplst):
|
||||||
unforminitialstate=(initialState.multiplicity,initialState.symetry)
|
unforminitialstate=(int(initialState.multiplicity),initialState.symetry)
|
||||||
countlst=[unforminitialstate]+[(it[0],it[1]) for it in tmplst[:index+1]]
|
countlst=[unforminitialstate]+[(it[0],it[1]) for it in tmplst[:index+1]]
|
||||||
countitem=(item[0],item[1])
|
countitem=(item[0],item[1])
|
||||||
count=countlst.count(countitem)
|
count=countlst.count(countitem)
|
||||||
|
Loading…
Reference in New Issue
Block a user