-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generate_network.py error #33
Comments
Hi André, I had the same problem with this script. It requires an older version of the python networkx module. You can check what verison of the module you have: I know it works with networkx 1.11 so I installed that: and then ran the script: generate_network.py -c config_VFDB.txt -m TAXON/TAXON.cluster_summary.txt Cheers, James |
Hi, |
Hi,
I'm using the follow command but it didn't working
:$ /home/user/programs/kinfin/scripts/generate_network.py -m -m kinfin_results/TAXON/TAXON.cluster_summary.txt -c config.txt
[+] Parsing SpeciesClassification file: config.simple.txt ...
[+] Parsing kinfin_results/TAXON/TAXON.cluster_summary.txt ...
[+] Max edge weight is 26312, ...
[+] Building graphs
Traceback (most recent call last):
File "/home/user/programs/kinfin/scripts/generate_network.py", line 189, in
construct_graphs(weighted_edges, proteomeObj_by_proteome_id, attributes)
File "/home/user/programs/kinfin/scripts/generate_network.py", line 111, in construct_graphs
G.add_node(proteomeObj.proteome_id, {k :v for k, v in proteomeObj.level_by_attribute.items()})
TypeError: add_node() takes exactly 2 arguments (3 ###given)
The text was updated successfully, but these errors were encountered: