COBREXA / COBREXA.jl

COnstraint Based Reconstruction and EXascale Analysis (in Julia)
https://cobrexa.github.io/COBREXA.jl/stable/
Apache License 2.0
9 stars 0 forks source link

MAT model not loading #66

Closed HettieC closed 1 month ago

HettieC commented 1 month ago

Hello!

I'm trying to load a MAT model, and am getting an InexactError: Int64(NaN) resulting from some of the metabolite charges in the model being NaN.

The model I am using is the yeast-GEM.mat from here.

Looks like the MATFBCModels util parse_charge(x) just needs an extra case for NaN.

Thanks!

HettieC commented 1 month ago

Moved to MATFBCModels