You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.
The random BEL generator (including bel generate) randomly samples from published OpenBEL annotations and namespaces. This produces life-like BEL Nanopubs but requires more memory and network access to OpenBEL resource URLs.
For property testing against random BEL data this cost is prohibitive. Moreover, using random data would better cover the possibilities for annotation and namespace values and provide for more robust tests.
I suggest making the BEL generator produce random data by default. Then provide sampling annotation and namespace values as an option.
We should then extend the bel generate subcommand with a --sampling switch to enable the sampling option.
The text was updated successfully, but these errors were encountered:
closes#105
added the -s, --sample (disable with --no-sample) switch to enable
sampling of namespace and annotation values from BEL resources.
split apart the Expression module into constituents:
- BEL::Gen::Namespace module to generate random namespaces
- BEL::Gen::Parameter module to generate random BEL parameters
- BEL::Gen::Term module to generate random BEL terms
- BEL::Gen::Statement module to generate random BEL statements
bel/gen is not loaded by default; to use BEL::Gen you will need to
*require 'bel/gen'*.
The random BEL generator (including
bel generate
) randomly samples from published OpenBEL annotations and namespaces. This produces life-like BEL Nanopubs but requires more memory and network access to OpenBEL resource URLs.For property testing against random BEL data this cost is prohibitive. Moreover, using random data would better cover the possibilities for annotation and namespace values and provide for more robust tests.
I suggest making the BEL generator produce random data by default. Then provide sampling annotation and namespace values as an option.
We should then extend the bel generate subcommand with a
--sampling
switch to enable the sampling option.The text was updated successfully, but these errors were encountered: