Skip to content

Commit

Permalink
Not sure how this lasted this long...
Browse files Browse the repository at this point in the history
  • Loading branch information
kaschau committed Jun 23, 2024
1 parent 4f71dbf commit 74b8352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utilities/ct2pgChem.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def rateConstString(A, m, Ea):
string = f"exp(log({A}){ m:+}*logT)"
elif isinstance(m, int) and Ea == 0.0:
if m < 0:
string = f"{A}" + "".join("*Tinv" for _ in range(m)) + ")"
string = f"{A}" + "".join("*Tinv" for _ in range(m))
elif m > 0:
string = f"{A}" + "".join("*T" for _ in range(m)) + ""
string = f"{A}" + "".join("*T" for _ in range(m))
else:
raise ValueError("Huh?")
elif Ea != 0.0:
Expand Down

0 comments on commit 74b8352

Please sign in to comment.