diff --git a/spras/config/config.py b/spras/config/config.py index d032e126e..a62649186 100644 --- a/spras/config/config.py +++ b/spras/config/config.py @@ -168,9 +168,6 @@ def process_algorithms(self, raw_config: RawConfig): # Do not parse the rest of the parameters for this algorithm if it is not included continue - if cur_params.directed is not None: - warnings.warn("UPDATE: we no longer use the directed key in the config file", stacklevel=2) - cur_params = cur_params.__pydantic_extra__ if cur_params is None: raise RuntimeError("An internal error occurred: ConfigDict extra should be set on AlgorithmParams.") diff --git a/spras/config/schema.py b/spras/config/schema.py index 2b46aaf1c..144e28f60 100644 --- a/spras/config/schema.py +++ b/spras/config/schema.py @@ -11,7 +11,7 @@ """ import re -from typing import Annotated, Optional +from typing import Annotated from pydantic import AfterValidator, BaseModel, ConfigDict, Field @@ -103,7 +103,6 @@ class ContainerRegistry(BaseModel): class AlgorithmParams(BaseModel): include: bool - directed: Optional[bool] = None # TODO: use array of runs instead. We currently rely on the # extra parameters here to extract the algorithm parameter information,