Skip to content

missing option 'get_simple_rules' #33

@silvanliechti

Description

@silvanliechti

Hello,

I just attempted to download all the simple btrules of the BBD package. My idea was to just apply get_rules() to the BBD package. However, this returns simple AND parallel rules, which in my case is unfortunate bc I only want simple rules.
To my surprise, there does not seem to be a function to only extract simple rules. Currently, the get_simple_rules() function only exists IF it is applied directly to a parallel rule (see image).
Of course, I can work around this, but it would be nice to have a function that gives you a list of all simple rules. Or better yet, a function which extracts the simple rules from all the rules. That way, no info is lost, and the simple rule could be mapped back to the parallel rule if desired.
Thanks :)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions