AttributeError: 'str' object has no attribute 'inchi'
Hi,
I am trying to compute the equilibrium constant and I tried the following example that I found on the webpage
kegg_id_to_coeff = {'C00002': -1, 'C00001': -1,
'C00008': 1, 'C00009': 1} # ATP + H2O = ADP + Pi
kegg_id_to_conc = {'C00002': 1e-3,
'C00009': 1e-4,
'C00008': 3e-3}
reaction = Reaction(kegg_id_to_coeff)
cc = ComponentContribution(pH=7.0, ionic_strength=0.1)
dG0_prime, dG0_uncertainty = cc.dG0_prime(reaction)
print(dG0_prime)
Unfortunately, this returns an error AttributeError: 'str' object has no attribute 'inchi'
I'd like to know how this issue can be resolved.
Edited by DeepaMahm