diff --git a/n3fit/src/n3fit/scripts/vp_setupfit.py b/n3fit/src/n3fit/scripts/vp_setupfit.py index 1d4c91ec43..0534081769 100644 --- a/n3fit/src/n3fit/scripts/vp_setupfit.py +++ b/n3fit/src/n3fit/scripts/vp_setupfit.py @@ -86,7 +86,7 @@ def init_output(self): self.output_path = pathlib.Path(self.output_path).absolute() if self.output_path.is_dir(): - log.warning(f"Output folder exists: {self.output_path} Overwritting contents") + log.warning(f"Output folder exists: {self.output_path} Overwriting contents") else: if not re.fullmatch(r'[\w\-]+', self.output_path.name): raise SetupFitError("Invalid output folder name. Must be alphanumeric.") diff --git a/validphys2/src/validphys/filters.py b/validphys2/src/validphys/filters.py index 60a9ee014e..30a503e8af 100644 --- a/validphys2/src/validphys/filters.py +++ b/validphys2/src/validphys/filters.py @@ -67,7 +67,7 @@ def run_check(ns, **kwargs): def make_dataset_dir(path): """Creates directory at path location.""" if path.exists(): - log.warning(f"Dataset output folder exists: {path} Overwritting contents") + log.warning(f"Dataset output folder exists: {path} Overwriting contents") else: path.mkdir(exist_ok=True)