-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importSBML no longer working in current MATLAB version #1875
Comments
A straightforward fix to this is described in sbmlteam/libsbml#274. Is this correct for AMICI? |
Sounds like it. Happy to address the issue (if prerequisites as outlined below are met) |
Hi Tom, we are aware that AMICI only works on MATLAB<R2018a. We don't currently have any plans to rewrite the matlab model import. We would rather drop the Matlab import altogether, once all MATLAB functionality is available from Python. |
Hi Daniel, |
Hi Tom, I am not aware of any other projects using that. Maybe @FFroehlich knows more. Considering 1 issue being posted there in 5 years, I'd say it's unlikely that many others are using it. |
Hmm, not sure. I think the idea was to not duplicate this and AMICI definitely contains the same repository: https://github.com/AMICI-dev/AMICI/tree/master/matlab/SBMLimporter. I don't think any other toolbox uses SBMLimporter. Even though it looks copy pasted, I think this is actually solved via git submodules (see https://github.com/AMICI-dev/AMICI/blob/57a7b11cc2fb301cf838daefd966830c522643a8/matlab/SBML2AMICI.m) |
Good. I'll close the issue here and open it on ICB-DCM/SBMLimporter. |
In MATLAB Version: 9.8.0.1873465 (R2020a) Update 8 and libSBML 5.19.0. AMICI importSBML fails with error
Error using sym>convertChar (line 1546)
Character vectors and strings in the first argument can only specify a variable or number. To evaluate character
vectors and strings representing symbolic expressions, use 'str2sym'.
As a result, genSSI can no longer import SBML models.
This is related to AMICI issue #234, which was fixed 5 years ago. #234
It is also related (and documented) in the new libSBML issue 274. sbmlteam/libsbml#274
This can be reproduced by running genSSI runExample('BIOMD0000000003')
The text was updated successfully, but these errors were encountered: