From 8325bf68353279ec26c00d6dc66824bf8110846a Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Thu, 19 Oct 2023 12:55:59 -0400 Subject: [PATCH] removed callable --- festim/species.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/festim/species.py b/festim/species.py index 2f5d36287..a3f45eacd 100644 --- a/festim/species.py +++ b/festim/species.py @@ -1,4 +1,4 @@ -from typing import List, Union, Callable +from typing import List class Species: @@ -72,7 +72,7 @@ class ImplicitSpecies: c = n - others Args: - n (float, Callable): the total concentration of the species + n (float): the total concentration of the species others (List[Species]): the list of species from which the implicit species concentration is computed (c = n - others) name (str, optional): a name given to the species. Defaults to None. @@ -88,7 +88,7 @@ class ImplicitSpecies: def __init__( self, - n: Union[float, Callable], + n: float, others: List[Species] = None, name: str = None, ) -> None: