Skip to content

Commit

Permalink
Corrects error with Cytoscape output for individually-refined networks
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Aug 3, 2020
1 parent da5b1ac commit 896159b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PopPUNK/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,9 @@ def main():
if model.indiv_fitted:
sys.stderr.write("Writing individual cytoscape networks\n")
for dist_type in ['core', 'accessory']:
outputsForCytoscape(indivNetworks[dist_type], isolateClustering, args.output,
indiv_network = gt.load_graph(args.ref_db + "/" + os.path.basename(args.ref_db) +
"_" + dist_type + '_graph.gt')
outputsForCytoscape(indiv_network, isolateClustering, args.output,
args.info_csv, suffix = dist_type, viz_subset = viz_subset)

else:
Expand Down

0 comments on commit 896159b

Please sign in to comment.