Skip to content

Commit

Permalink
quick flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvanderschelling committed Jun 20, 2024
1 parent 67a21c6 commit 82bde55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/f3dasm/_src/design/parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _check_range(self):
raise ValueError("step size must be larger than 0!")


@ dataclass
@dataclass
class _CategoricalParameter(_Parameter):
"""Create a search space parameter that is categorical
Expand Down
4 changes: 2 additions & 2 deletions src/f3dasm/_src/experimentdata/experimentdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def wrapper_func(self: ExperimentData, *args, **kwargs) -> None:
# Properties
# =========================================================================

@ property
@property
def index(self) -> pd.Index:
"""Returns an iterable of the job number of the experiments
Expand All @@ -257,7 +257,7 @@ def index(self) -> pd.Index:
# Alternative Constructors
# =========================================================================

@ classmethod
@classmethod
def from_file(cls: Type[ExperimentData],
project_dir: Path | str) -> ExperimentData:
"""Create an ExperimentData object from .csv and .json files.
Expand Down

0 comments on commit 82bde55

Please sign in to comment.