import biolqm
import mpbn
lqm = biolqm.load("http://ginsim.org/sites/default/files/MAPK_large_19june2013.zginml")
%time len(biolqm.trapspace(lqm, "terminal"))
CPU times: user 404 ms, sys: 81.6 ms, total: 486 ms Wall time: 1.55 s
18
mbn = mpbn.MPBooleanNetwork(biolqm.to_minibn(lqm))
%time len(list(mbn.attractors()))
CPU times: user 15.2 ms, sys: 3.86 ms, total: 19 ms Wall time: 17.7 ms
18