I think the judgement line
'elif(nA != 0 or nB != 0):'
in cell [24] of testModel.ipyb should be
'elif (nA==0 or nB==0):'
or it will lost some flags for empty cell
TypeError Traceback (most recent call last)
in ()
10 ## all_peaks id
11
---> 12 partAs = connection_all[k][:,0]
13 ## all_peaks id
14 partBs = connection_all[k][:,1]
TypeError: list indices must be integers, not tuple
I think the judgement line
'elif(nA != 0 or nB != 0):'
in cell [24] of testModel.ipyb should be
'elif (nA==0 or nB==0):'
or it will lost some flags for empty cell
TypeError: list indices must be integers, not tuple