Skip to content

error in testModel.ipynb #13

@ZongweiZhou1

Description

@ZongweiZhou1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions