Skip to content

Commit

Permalink
Remove from_string method
Browse files Browse the repository at this point in the history
  • Loading branch information
enadeau committed Jun 14, 2019
1 parent a277bb5 commit 226bae4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions comb_spec_searcher/combinatorial_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ def is_positive(self):
"'is_epsilon', 'is_atom' and 'is_positive' "
"for your combinatorial class.")

@classmethod
@abc.abstractmethod
def from_string(cls, string):
"""Return class from string. The string should be a simplified encoding
of combinatorial classes you wish to use the CombSpecSearcher on."""
raise NotImplementedError("This function needs to be added to your "
"combinatorial class in order to use the "
"debug settings and for initial conditions"
" for computing the generating function")

def from_dict(self):
"""Return combinatorial class from the jsonable object."""
raise NotImplementedError("This function is need to reinstantiate a "
Expand Down

0 comments on commit 226bae4

Please sign in to comment.