SystemsGenetics / KINC

Knowledge Independent Network Construction
MIT License
11 stars 4 forks source link

Fixed bug with tidy format rearrangement. #143

Closed spficklin closed 4 years ago

spficklin commented 4 years ago

This fixes issue #142. The problem is that when someone specifies tidy they get graphml output instead. The problem is described on the issue.

This is the first PR to merge into the new develop branch.

To test this, just run the kinc-gmm-run.sh script inside of the example directory. Run it before and after this fix with the --format "tidy" option. Before the fix you get GraphML output, afterwards you get tidy output.

edit: I added a new script to easily generate all output formats. It's called kinc-gmm-all-formats.sh. You can run it after the kinc-gmm-run.sh and it will spit out all of the file formats for easy checking.

spficklin commented 4 years ago

Additionally, I took out some unneeded code from one of the R scripts.