Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions spras/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
3 changes: 1 addition & 2 deletions spras/config/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""

import re
from typing import Annotated, Optional
from typing import Annotated

from pydantic import AfterValidator, BaseModel, ConfigDict, Field

Expand Down Expand Up @@ -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,
Expand Down
Loading