pik-copan / pyunicorn

Unified Complex Network and Recurrence Analysis Toolbox
http://pik-potsdam.de/~donges/pyunicorn/
Other
195 stars 86 forks source link

Attribute Error in function core.Network.GrowPreferentially #123

Closed jkroenke closed 4 years ago

jkroenke commented 5 years ago

Executing

from pyunicorn.core.network import Network
net = Network.GrowPreferentially()

throws


  File "<ipython-input-6-ef3d98fec0ab>", line 1, in <module>
    net = Network.GrowPreferentially()

  File "/home/kroenke/pik/pyunicorn/pyunicorn/core/network.py", line 1021, in GrowPreferentially
    inc_target.append(j)

AttributeError: 'range' object has no attribute 'append'