Skip to content

Commit

Permalink
fix: exportModel pass through supressWarnings flag
Browse files Browse the repository at this point in the history
  • Loading branch information
edkerk committed Oct 9, 2024
1 parent 2927f20 commit 7010c60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/core/printOrange.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" sr
0019 sz = get(0, <span class="string">'CommandWindowSize'</span>);
0020 orangeString = textwrap({orangeString},sz(1));
0021 orangeString = strjoin(orangeString,<span class="string">'\n'</span>);
0022 fprintf(orangeString)
0022 fprintf(orangeString);
0023 <span class="keyword">end</span>
0024 <span class="keyword">end</span></pre></div>
<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" title="Matlab Documentation in HTML">m2html</a></strong> &copy; 2005</address>
Expand Down
2 changes: 1 addition & 1 deletion doc/io/exportModel.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" sr
0109
0110 <span class="comment">%Check the model structure</span>
0111 <span class="keyword">if</span> supressWarnings==false
0112 checkModelStruct(model);
0112 checkModelStruct(model,false);
0113 <span class="keyword">end</span>
0114
0115 <span class="comment">%Add several blank fields, if they do not exist already. This is to reduce</span>
Expand Down
2 changes: 1 addition & 1 deletion io/exportModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function exportModel(model,fileName,COBRAstyle,supressWarnings,sortIds)

%Check the model structure
if supressWarnings==false
checkModelStruct(model);
checkModelStruct(model,false);
end

%Add several blank fields, if they do not exist already. This is to reduce
Expand Down

0 comments on commit 7010c60

Please sign in to comment.