From 5084647e38cec52111ab1ea33c68411dc6e79de5 Mon Sep 17 00:00:00 2001 From: tgalvin Date: Mon, 19 Aug 2024 16:45:40 +0800 Subject: [PATCH] fixed the type syntax error --- flint/prefect/common/imaging.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flint/prefect/common/imaging.py b/flint/prefect/common/imaging.py index 7032413b..3aec7902 100644 --- a/flint/prefect/common/imaging.py +++ b/flint/prefect/common/imaging.py @@ -106,7 +106,8 @@ def task_potato_peel( @task def task_flag_ms_aoflagger(ms: FlagMS, container: Path) -> FlagMS: - extracted_ms = MS.cast(ms=ms) # type: ignore - a product of the type alias, pirate thinks + # Pirate believes the type ignore below is due to the decorated function and type alias + extracted_ms = MS.cast(ms=ms) # type: ignore extracted_ms = flag_ms_aoflagger(ms=extracted_ms, container=container)