Skip to content

Commit

Permalink
views extra: add 'boolean-network'
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Aug 29, 2022
1 parent cbeb1ad commit 3e37648
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bonesis/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def parse_extra(extra):
if isinstance(extra, str):
if extra == "configurations":
return configurations_of_facts
elif extra == "boolean-network":
return minibn_of_facts
raise ValueError(f"Unknown extra '{extra}'")
return extra
if isinstance(extra, (tuple, list)):
Expand Down

0 comments on commit 3e37648

Please sign in to comment.