Skip to content

Commit

Permalink
No need to explicitly inherit __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
leonplanken committed Feb 4, 2025
1 parent 58abd94 commit 4acceda
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions jaxkineticmodel/load_sbml/sympy_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ class SympyConverter(Converter):
mp.sympy_op: mp for mp in MAPPINGS
}

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def sympy2libsbml(self, expression: sympy.Basic) -> libsbml.ASTNode:
children = [self.sympy2libsbml(child) for child in expression.args]

Expand Down Expand Up @@ -175,9 +172,6 @@ class LibSBMLConverter(Converter):
mp.libsbml_op: mp for mp in MAPPINGS
}

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def libsbml2sympy(self, node: libsbml.ASTNode) -> sympy.Basic:
if not node.isWellFormedASTNode():
raise ValueError('Got invalid libSBML AST node')
Expand Down

0 comments on commit 4acceda

Please sign in to comment.