You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just going to leave it here since the NetworkX syntax has been updated and it breaks the current implementation of DriverNetPy. Currently, DriverNetPy is exiting with the following error:
Traceback (most recent call last):
File "DriverNetPy/DriverNet.py", line 99, in <module>
main()
File "DriverNetPy/DriverNet.py", line 93, in main
DriverNet(args)
File "DriverNetPy/DriverNet.py", line 60, in DriverNet
edges, ggi, outlier_dict, mutation_dict = preprocess(ggi_matirx, sample_mutation_matrix, sample_exp_outlier)
File "/projects/rmorin_scratch/for_kostia/DriverNetPy/DriverNetPy/preprocess.py", line 103, in preprocess
ggi = read_ggi(ggi_matirx)
File "/projects/rmorin_scratch/for_kostia/DriverNetPy/DriverNetPy/preprocess.py", line 29, in read_ggi
ggi.remove_edges_from(ggi.selfloop_edges())
AttributeError: 'Graph' object has no attribute 'selfloop_edges'
if used with the latest version of NetworkX (at the time of writing, it is 2.5).
Is it possible to include yaml file to the repo with environment that can be easily build and reproduced? Or mentioning specific versions of the DriverNetPy dependencies? I am going to try new nx.selfloop_edges(G) syntax in preprocess.py, but it is possible there are more functions that are not supported by newest NetworkX releases.
The text was updated successfully, but these errors were encountered:
Just going to leave it here since the NetworkX syntax has been updated and it breaks the current implementation of DriverNetPy. Currently, DriverNetPy is exiting with the following error:
if used with the latest version of NetworkX (at the time of writing, it is 2.5).
Is it possible to include yaml file to the repo with environment that can be easily build and reproduced? Or mentioning specific versions of the DriverNetPy dependencies? I am going to try new
nx.selfloop_edges(G)
syntax inpreprocess.py
, but it is possible there are more functions that are not supported by newest NetworkX releases.The text was updated successfully, but these errors were encountered: