cdanielmachado / carveme

CarveMe: genome-scale metabolic model reconstruction
Other
149 stars 51 forks source link

Get an error with merge_community #42

Closed AlexandrePelletier closed 3 years ago

AlexandrePelletier commented 5 years ago

hello,

i'll try to merge 3 model get in CarveMe :

merge_community Bifidobacterium_longum_NCC2705.xml Bacteroides_uniformis_ATCC_8492.xml Lactobacillus_iners_DSM_13335.xml --no-community-biomass -o community.xml

but i got this error :

File "C:\Users\alexh\Anaconda3\lib\site-packages\framed\model\fixes.py", line 106, in clean_bounds if reaction.ub >= threshold: TypeError: '>=' not supported between instances of 'NoneType' and 'int'

have you any idea why ? thank you for your help

A

cdanielmachado commented 5 years ago

I am afraid we missed this case when we migrated to python 3. That part of the code still runs fine in python 2.

I will try to fix this as soon as possible. In the meantime, I am afraid the only alternative is to install python 2.7. Sorry for the inconvenience.

AlexandrePelletier commented 5 years ago

Ok thank you for your quick response !

cdanielmachado commented 3 years ago

fixed in latest release