read SMBL problem (tag: @tpfau)

34 views
Skip to first unread message

Tatsuro Tanioka

unread,
Aug 16, 2017, 1:59:21 PM8/16/17
to COBRA Toolbox
I'm getting an error using MATLAB 2015b and 2016b when I try to open a model (iNS934.xml). 
The model itself is valid on SBML checker.
Error message get is 
>> model=readCbModel('iNS934.xml')
Error using cellfun
Non-scalar in Uniform output, at index 1, output 1.
Set 'UniformOutput' to false.

Error in readSBML>extractGPRRule (line 447)
    ruleGenes = cellfun(@(x) regexp(x,'[^ \[\]\(\)\{\}]*','match'),geneFields);

Error in readSBML (line 214)
        [rule,cgenes] = extractGPRRule(grRule{i},model.genes,0);

Error in readCbModel (line 206)
        model = readSBML(fileName,defaultBound);

I can open other models. Are there any ways to fix this?

Thanks,
Tatsuro Tanioka
iNS934.xml
COBRAconfigReport-2.log

Laurent Heirendt

unread,
Aug 16, 2017, 3:43:55 PM8/16/17
to COBRA Toolbox
Hi Tatsuro,

Would you mind opening the issue here: https://github.com/opencobra/cobratoolbox/issues?

This will help to easier track this.

Thanks.

Laurent

Tatsuro Tanioka

unread,
Aug 16, 2017, 4:26:55 PM8/16/17
to COBRA Toolbox
To Laurent, 
I posted this to the link.
Tatsuro

Laurent Heirendt

unread,
Aug 17, 2017, 10:03:39 AM8/17/17
to COBRA Toolbox
Thanks Tatsuro.
Reply all
Reply to author
Forward
0 new messages