Skip to content

Commit

Permalink
Fixed bug causing results attribute to not be compatible with python
Browse files Browse the repository at this point in the history
  • Loading branch information
junyang00 committed Dec 5, 2023
1 parent 485f3c5 commit b8cd55a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dabest/_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def to_dict(self):
out[a] = getattr(self, a)
return out

def configure_results(self, __results: pd.DataFrame, column_names: list[str]):
def configure_results(self, __results: pd.DataFrame, column_names):
self.__results = __results
self.__results.columns = column_names

Expand Down Expand Up @@ -1312,7 +1312,7 @@ def to_dict(self):
out[a] = getattr(self, a)
return out

def configure_results(self, __results: pd.DataFrame, column_names: list[str]):
def configure_results(self, __results: pd.DataFrame, column_names):
self.__results = __results
self.__results.columns = column_names

Expand Down
4 changes: 2 additions & 2 deletions nbs/API/class.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@
" out[a] = getattr(self, a)\n",
" return out\n",
" \n",
" def configure_results(self, __results: pd.DataFrame, column_names: list[str]):\n",
" def configure_results(self, __results: pd.DataFrame, column_names):\n",
" self.__results = __results\n",
" self.__results.columns = column_names\n",
"\n",
Expand Down Expand Up @@ -2057,7 +2057,7 @@
" out[a] = getattr(self, a)\n",
" return out\n",
" \n",
" def configure_results(self, __results: pd.DataFrame, column_names: list[str]):\n",
" def configure_results(self, __results: pd.DataFrame, column_names):\n",
" self.__results = __results\n",
" self.__results.columns = column_names\n",
"\n",
Expand Down

0 comments on commit b8cd55a

Please sign in to comment.