From 8b3c3b8dd72b95c688440a7c7858c09a515b4752 Mon Sep 17 00:00:00 2001 From: Thibault de Varax <154365476+thibaultdvx@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:24:37 +0100 Subject: [PATCH] Update clinicadl/data/datasets/caps_dataset.py Co-authored-by: camillebrianceau <57992134+camillebrianceau@users.noreply.github.com> --- clinicadl/data/datasets/caps_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clinicadl/data/datasets/caps_dataset.py b/clinicadl/data/datasets/caps_dataset.py index 3bc1723eb..9e8e20feb 100644 --- a/clinicadl/data/datasets/caps_dataset.py +++ b/clinicadl/data/datasets/caps_dataset.py @@ -208,7 +208,7 @@ def describe(self): } def _get_df_from_input( - self, data: Optional[Union[pd.DataFrame, Path]] + self, data: Optional[Union[pd.DataFrame, Path, str]] ) -> pd.DataFrame: """ Generates or validates the DataFrame from the input data.