diff --git a/src/osekit/public_api/dataset.py b/src/osekit/public_api/dataset.py index 5d2f02f9..fd63a085 100644 --- a/src/osekit/public_api/dataset.py +++ b/src/osekit/public_api/dataset.py @@ -394,8 +394,8 @@ def run_analysis( """ if analysis.name in self.analyses: message = ( - f"Analysis {analysis.name} already exists." - f"Please choose a different name," + f"Analysis {analysis.name} already exists. " + f"Please choose a different name, " f"or delete it with the Dataset.delete_analysis() method." ) raise ValueError(message) diff --git a/src/osekit/utils/core_utils.py b/src/osekit/utils/core_utils.py index 3666c1ce..30c2bc1d 100644 --- a/src/osekit/utils/core_utils.py +++ b/src/osekit/utils/core_utils.py @@ -78,7 +78,7 @@ def change_owner_group(path: Path, owner_group: str) -> None: os.chown(path, -1, gid) except PermissionError as e: message = ( - f"You do not have the permission to change the owner of {path}." + f"You do not have the permission to change the owner of {path}. " f"The group owner has not been changed " f"from {path.group()} to {owner_group}." )