mazzalab / pyntacle

A high performance python package for network analysis based on non canonical metrics
http://pyntacle.css-mendel.it
9 stars 1 forks source link

[cmd] error in Kp-finder command #48

Closed Bioswinger closed 4 years ago

Bioswinger commented 4 years ago

Quickstart guide notebook

command used:pyntacle keyplayer kp-finder -i AdvSeek.adjm -k 2 -m 1 -t mreach

error: the program return an empty .tsv file

There is the same problem also using the brute-force option

mazzalab commented 4 years ago

do you receive an error message? Can you report it here? Can you open another issue about the brute-force error, reporting the error message also for this?

Bioswinger commented 4 years ago

it seems there aren't errors. The files are corretly imported and both the plot and the tsv file are generated.

my output:

Using greedy optimization algorithm for searching the optimal key player set for the requested key player metrics
Node set size for key-player search: 3
Writing report in txt format
Plotting network and run results in /mypath directory with PyntacleInk
mazzalab commented 4 years ago

there is actually a bug. You specify mreach in the command line but it matches m-reach inside the code. This cause to leave the last half of the report file empty.