From 4da64f2618e5ef52395a32e4a66e0f7d54972e0d Mon Sep 17 00:00:00 2001 From: Alif Be <11570927+alifbe@users.noreply.github.com> Date: Mon, 14 Oct 2024 22:31:20 +0000 Subject: [PATCH] Fix mypy issue --- src/subscript/check_swatinit/check_swatinit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subscript/check_swatinit/check_swatinit.py b/src/subscript/check_swatinit/check_swatinit.py index 5baf0e0aa..57cb2ef8a 100644 --- a/src/subscript/check_swatinit/check_swatinit.py +++ b/src/subscript/check_swatinit/check_swatinit.py @@ -2,7 +2,7 @@ import argparse import sys -from typing import Any, Dict, List +from typing import Any, Dict, List, Union import numpy as np import pandas as pd @@ -473,7 +473,7 @@ def _evaluate_pc( swats: List[float], scale_vert: List[float], swls: List[float], - swus: List[float], + swus: Union[None, List[float]], satfunc: pd.DataFrame, sat_name: str = "SW", pc_name: str = "PCOW",