Skip to content

Commit

Permalink
Support for new LTSpice export files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuno Brum committed Dec 4, 2024
1 parent 9a95047 commit 69d6555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spicelib/log/ltsteps.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def reformat_LTSpice_export(export_file: str, tabular_file: str):
go_header = True
run_no = 0 # Just to avoid warning, this is later overridden by the step information
param_values = "" # Just to avoid warning, this is later overridden by the step information
regx = re.compile(r"Step Information: ([\w=\d\. -]+) +\(Run: (\d*)/\d*\)\n")
regx = re.compile(r"Step Information: ([\w=\d\. \-]+) +\((?:Run|Step): (\d*)/\d*\)\n")
for line in fin:
if line.startswith("Step Information:"):
match = regx.match(line)
Expand Down

0 comments on commit 69d6555

Please sign in to comment.