Skip to content

Commit be35142

Browse files
committed
Correct return type hinting
1 parent e2c0fdc commit be35142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynch/nubase_parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _read_all_halflife_data(self, line: str) -> tuple:
4747
self._read_halflife_error(line)
4848
)
4949

50-
def _read_spin(self, line: str) -> str:
50+
def _read_spin(self, line: str) -> typing.Union[str, None]:
5151
"""Extract the spin of the isotope and it's level."""
5252
# 2020 brought in '*' for directly measured. Just remove it for the moment
5353
# TODO parse the spin parity with the new characters

0 commit comments

Comments
 (0)