Skip to content

Commit

Permalink
fixed the type syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
tgalvin committed Aug 19, 2024
1 parent ab63b3f commit 5084647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flint/prefect/common/imaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5084647

Please sign in to comment.