Skip to content

Commit

Permalink
fixup! project_helpers: Clean up whitespace in project/experiment des…
Browse files Browse the repository at this point in the history
…criptions
  • Loading branch information
jherland committed Jan 18, 2024
1 parent 241345d commit 81fd1cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/project_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ class BaseExperiment(ABC):
@staticmethod
def _init_args_from_toml(name: str, data: TomlData) -> Dict[str, Any]:
"""Extract members from TOML into kwargs for a subclass constructor."""
description = data.get("description")
return dict(
name=name,
description=dedent(data.get("description")),
description=None if description is None else dedent(description),
requirements=data.get("requirements", []),
expectations=AnalysisExpectations.from_toml(data),
)
Expand Down

0 comments on commit 81fd1cd

Please sign in to comment.