Skip to content

Commit bd291e8

Browse files
committed
fix type signature on AMIStats for python 3.8
1 parent f5eb8ab commit bd291e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyhctsa/Operations/Information.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Union, Any, Optional, Dict
1+
from typing import Union, Any, Optional, Dict, List
22
import numpy as np
33
import jpype as jp
44
import os
@@ -113,7 +113,7 @@ def AutoMutualInfoStats(
113113

114114
def AutoMutualInfo(
115115
y: ArrayLike,
116-
timeDelay: Union[int, str, list[int]] = 1,
116+
timeDelay: Union[int, str, List[int]] = 1,
117117
estMethod: str = 'kernel',
118118
extraParam: Optional[Union[int, str]] = None
119119
) -> Union[float, Dict[str, float]]:

0 commit comments

Comments
 (0)