cdanielmachado / carveme

CarveMe: genome-scale metabolic model reconstruction
Other
151 stars 52 forks source link

Error while creating community models #156

Open NantiaL opened 2 years ago

NantiaL commented 2 years ago

Hello, I am still having the same problem with CarveMe version 1.4.1 when I try to merge two models and create a community model (see #95 ). Any ideas where the problem could be? I also tried to set flavors (fbc2 and cobra) and modified the models so that the compartments from both models are named in exactly the same way, but it is still not working.

Here is the traceback from merge_community :

$ merge_community --fbc2 PA.xml USA.xml -o community.xml
Traceback (most recent call last):
File "/Users/leonidou/opt/anaconda3/bin/merge_community", line 8, in
sys.exit(main())
File "/Users/leonidou/opt/anaconda3/lib/python3.8/site-packages/carveme/cli/merge_community.py", line 86, in main
maincall(inputfiles=args.input,
File "/Users/leonidou/opt/anaconda3/lib/python3.8/site-packages/carveme/cli/merge_community.py", line 24, in maincall
community = Community(model_id, models,
TypeError: init() got an unexpected keyword argument 'extracellular_compartment_id'

Many thanks in advance!