Closed janvekarnaveed closed 4 years ago
I'll be available to fix it next week.
In the mean time, can you supply the sample edgelist so I can use it when reproducing the bug? Thanks
ValueError Traceback (most recent call last)
Hi,
I made some changes and fixed some bugs. The two error cases you provided should work and are in the unit tests now.
Please pull the current repo (not the pip version, which doesn't have the changes yet) to confirm it fixes the problem on your actual real world usecase.
Thanks!
I can confirm that changes made worked. I was able to read the edgelist in CSR graph object. Thank you so much!
G = cg.read_edgelist("sample.edgelist", sep='\t') this leads to the following error - ~/anaconda3/envs/python3/lib/python3.6/site-packages/csrgraph/graph.py in init(self, data, nodenames, copy, threads) 107 raise ValueError(f""" 108 Out of bounds node: {max_idx}, nnodes: {self.nnodes} --> 109 """) 110 # Manage threading through Numba hack 111 if type(threads) is not int:
ValueError: Out of bounds node: 170625, nnodes: 146040