hklarner / pyboolnet

PyBoolNet is a Python package for the generation, modification and analysis of Boolean networks.
43 stars 21 forks source link

Make all the bnet files from PyBoolNet/Repository openable in R BoolNet. #59

Closed nanls closed 3 years ago

nanls commented 3 years ago

Hi!

Of the 25 bnet files I found in PyBoolNet/Repository, 18 are openable in R BoolNet, but for the 7 others (mostly toy BNs), the header targets, factors is missing.

This PR is just about adding these headers. :)

List of the file changed:

Also, I find the docstring of FileExancge.primes2bnet() misleading. What about changing it to

Saves Primes as a bnet file, -> optionnaly <- including the header "targets, factors" for compatibility with :ref:installation_boolnet.

(Note that the default is without header)

hklarner commented 3 years ago