Remove "|" type for Python < 3.10 compatibility

This commit is contained in:
lechevaa committed 2025-10-08 11:20:43 +02:00
1 parent c26ca82c45
commit 6a41fe4060
1 file changed
+1 -1
+1 -1
View File
@@ -220,7 +220,7 @@ def compute_output_vars(output_features, start_idx, end_idx, unrst, rd_init, fea
return np.stack(output_data), scaling_params
def extract_newtit_from_file(filename: str | Path) -> list[int]:
def extract_newtit_from_file(filename):
"""
Parse an INFOSTEP file and return the values of the 'NewtIt' column.