You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the model reconstruction code, I always get an error message saying that the pigment key is error, can it help me solve the problem
from modelseedpy import MSBuilder, MSGenome
from modelseedpy.helpers import get_template
from modelseedpy.core.mstemplate import MSTemplateBuilder
template = MSTemplateBuilder.from_dict(get_template('template_core')).build()
Traceback (most recent call last):
File "", line 1, in
File "/public/home/luluotian/application/modelseed/ModelSEEDpy/modelseedpy/core/mstemplate.py", line 1636, in build
list(
File "/public/home/luluotian/application/modelseed/ModelSEEDpy/modelseedpy/core/mstemplate.py", line 1637, in
map(lambda x: MSTemplateBiomass.from_dict(x, template), self.biomasses)
File "/public/home/luluotian/application/modelseed/ModelSEEDpy/modelseedpy/core/mstemplate.py", line 646, in from_dict
d["pigment"],
KeyError: 'pigment'
The text was updated successfully, but these errors were encountered:
When I run the model reconstruction code, I always get an error message saying that the pigment key is error, can it help me solve the problem
The text was updated successfully, but these errors were encountered: