mpbn 4.0__tar.gz → 4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mpbn might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mpbn
3
- Version: 4.0
3
+ Version: 4.1
4
4
  Summary: Simple implementation of Most Permissive Boolean networks
5
5
  Home-page: https://github.com/bnediction/mpbn
6
6
  Author: Loïc Paulevé
@@ -58,9 +58,9 @@ def ba_to_bdd(ba: boolean.BooleanAlgebra, f: boolean.Expression, ctx: BddVariabl
58
58
  # Check that all variables that exist in `f` also exist in `ctx`.
59
59
  assert all((ctx.find_variable(var) is not None) for var in variables)
60
60
  def ba_to_bdd_rec(f: boolean.Expression) -> Bdd:
61
- if type(f) is ba.TRUE or isinstance(f, minibn._TRUE):
61
+ if type(f) is ba.TRUE or isinstance(f, boolean._TRUE):
62
62
  return ctx.mk_const(True)
63
- if type(f) is ba.FALSE or isinstance(f, minibn._FALSE):
63
+ if type(f) is ba.FALSE or isinstance(f, boolean._FALSE):
64
64
  return ctx.mk_const(False)
65
65
  if type(f) is ba.Symbol:
66
66
  return ctx.mk_literal(str(f.obj), True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mpbn
3
- Version: 4.0
3
+ Version: 4.1
4
4
  Summary: Simple implementation of Most Permissive Boolean networks
5
5
  Home-page: https://github.com/bnediction/mpbn
6
6
  Author: Loïc Paulevé
@@ -4,7 +4,7 @@
4
4
  from setuptools import setup, find_packages
5
5
 
6
6
  NAME = "mpbn"
7
- VERSION = "4.0"
7
+ VERSION = "4.1"
8
8
 
9
9
  setup(name=NAME,
10
10
  version=VERSION,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes