Open mdziurzynski opened 3 years ago
Good day mdziurzynski
Thanks for using pyTFA! From what I see here, it looks like you do not have a concentration variable for this metabolite cpd15684_c
. Right after the prepare
statement, can you check that this is the case ?
Cheers, Pierre
Hello Pierre,
thank you for such a quick answer. Quite frankly, I wasn't able to look up the concentration variables after prepare()
. What is the proper way to do that?
It appears that log concentration data is not created during _convert_metabolites
method, but later on in _convert_reactions
those missing LC's are required and hence the error.
I'm trying to replicate the tutorial_basics.py
code on non reduced model. I prepared the lexicon, adjusted compartment data but I get this error. I uploaded the code along with a the data to this repo: https://github.com/mdziurzynski/tac125_to_pytfa
Update: I managed to overcome this error through removal of 57 reactions from my model. All of them had their dGibbs in Seed Database set to 10000000. If I understand this correctly, that means that there are no reliable data for dGibbs for these reactions, so a placeholder values have been put, right? If yes, if there maybe any way to deal with that kind of unknowns? I read that there are ways to computationally predict dGibbs, so should this kind of approach be applied in such situations?
Hello,
I'm trying to convert my model to TFA, and I'm getting an unmanaged KeyError for some of my metabolites. It usually looks like that:
I tried to understand what is going on, but without any success. I just know that self.LC_vars[met] is raising the error. Does it have something to do with how my metabolites/reactions are defined?