polcolomer / RandNetGen

Random network generator
GNU General Public License v3.0
16 stars 8 forks source link

Error reading a link #9

Closed HKris-21 closed 3 years ago

HKris-21 commented 3 years ago

Hello , I get this error when i try to run your code , the file Interactor_list.txt contains two columns with edges . Operating system is Fedora.

./RandNetGen -net Interactor_list.txt

ARGUMENTS: Network : Interactor_list.txt Preserving the P(k) Num of rewires x step : 100*E Initial beta : 100.000000 Beta increment : 1.400000 Min acceptation rate : 0.000050 Random seed 1612420190

Reading the network... error reading a link form the edge list(This keeps on repeating)

polcolomer commented 3 years ago

Hi Harikrishnan,

thanks for using my code, 

Remember that the file should be in the edge list format: A plain text file with two numeric columns with all the edges (origin, destination). With or without repetitions. Undirected and unweighted networks only.

thanks,

Pol

HKris-21 commented 3 years ago

Hi Pol , It was a silly mistake from my side. The code works like a charm. Thank you for your time and sorry for the trouble.