From 37903fbc349d4825576fdbf7055e400d9e070a74 Mon Sep 17 00:00:00 2001 From: Thomas Fish Date: Thu, 17 Oct 2024 16:26:06 +0100 Subject: [PATCH] fix typo: `_prepate_OTF_file` changed to `_prepare_OTF_file` --- src/sim_recon/recon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sim_recon/recon.py b/src/sim_recon/recon.py index 1665137..0fd6555 100644 --- a/src/sim_recon/recon.py +++ b/src/sim_recon/recon.py @@ -493,7 +493,7 @@ def _prepare_config_kwargs( return kwargs -def _prepate_OTF_file( +def _prepare_OTF_file( otf_path: str | PathLike[str], output_directory: str | PathLike[str] ) -> Path: otf_path = Path(otf_path) @@ -534,7 +534,7 @@ def create_processing_info( f"No OTF file has been set for channel {wavelengths.emission_nm_int} ({wavelengths})" ) - otf_path = _prepate_OTF_file(otf_path, output_dir) + otf_path = _prepare_OTF_file(otf_path, output_dir) kwargs = _prepare_config_kwargs( conf,