Skip to content

Commit

Permalink
adapted to peppercorn v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bad-ants-fleet committed May 15, 2018
1 parent 390678a commit 5dde218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nuskell/enumeration.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from peppercornenumerator import Enumerator
import peppercornenumerator.reactions as reactions

from peppercornenumerator.condense import ReactionGraph
from peppercornenumerator.condense import PepperCondensation


class TestTubePeppercornIO(object):
Expand Down Expand Up @@ -154,7 +154,7 @@ def enumerator_to_testtube(self, enumerator):
condensed = TestTubePeppercornIO.condensed

if condensed:
enumCG = ReactionGraph(enumerator)
enumCG = PepperCondensation(enumerator)
enumCG.condense()
reactions = enumCG.condensed_reactions
else:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_enumeration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import unittest
import argparse

from peppercornenumerator import Enumerator, ReactionGraph
from peppercornenumerator import Enumerator, PepperCondensation
from peppercornenumerator.objects import PepperDomain, PepperComplex, PepperReaction, clear_memory

import nuskell.enumeration as ne
Expand Down Expand Up @@ -89,7 +89,7 @@ def test_peppercorn_interface(self):

###########################
# Get condensed output CRN
enumRG = ReactionGraph(enum)
enumRG = PepperCondensation(enum)
reactions = enumRG.condensed_reactions

self.assertEqual(len(reactions), 1)
Expand Down

0 comments on commit 5dde218

Please sign in to comment.