Skip to content

Commit 0482758

Browse files
committed
chore: update imports
1 parent 07dec4f commit 0482758

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyneuroml/neuron/analysis/HHanalyse.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
import re
1010
import subprocess
1111
import sys
12-
from typing import List as typing_List
13-
from typing import Optional as typing_Optional
12+
import typing
1413
from math import log
1514

1615
import matplotlib.pyplot as pylab
@@ -139,7 +138,7 @@ def remove_comments(txt):
139138
return clear_txt
140139

141140

142-
def get_states(txt: str) -> typing_List[str]:
141+
def get_states(txt: str) -> typing.List[str]:
143142
"""Get list of states from mod file text.
144143
145144
:param txt: mod file text
@@ -159,7 +158,7 @@ def get_states(txt: str) -> typing_List[str]:
159158
return state_list
160159

161160

162-
def get_suffix(txt: str) -> typing_Optional[str]:
161+
def get_suffix(txt: str) -> typing.Optional[str]:
163162
"""Get suffix mod file text
164163
165164
:param txt: mod file text

0 commit comments

Comments
 (0)