Commit aad37b9f authored by Elad Noor's avatar Elad Noor

chore: black

parent ab28cc01
Pipeline #206465610 failed with stages
in 8 minutes and 34 seconds
......@@ -357,12 +357,14 @@ class StoichiometricModel(object):
if self.is_proton(compound):
continue
elif coeff < 0:
l_tokens.append(self._write_compound_and_coeff(compound, -coeff))
l_tokens.append(
self._write_compound_and_coeff(compound, -coeff)
)
elif coeff > 0:
r_tokens.append(self._write_compound_and_coeff(compound, coeff))
l_str = ' + '.join(l_tokens)
r_str = ' + '.join(r_tokens)
l_str = " + ".join(l_tokens)
r_str = " + ".join(r_tokens)
return f"{l_str} {reaction.arrow} {r_str}"
@staticmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment