Skip to content
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

Compilation fails with libsbml>=5.19 #5

Open
cdiener opened this issue Mar 15, 2024 · 2 comments
Open

Compilation fails with libsbml>=5.19 #5

cdiener opened this issue Mar 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cdiener
Copy link

cdiener commented Mar 15, 2024

Describe the bug

sybil-SBML will raise compilation errors during install with libSBML version 5.19 or above.

Steps to reproduce

Install a recent libSBML, then run

remotes::install_github("SysBioChalmers/sybil-SBML")

Expected behavior

Package should install without errors.

Logs

A full build log is here

@cdiener cdiener added the bug Something isn't working label Mar 15, 2024
@Waschina
Copy link

Waschina commented May 3, 2024

Hi @cdiener

I am not a maintainer of sybilSBML, but from the log file, it seems like the issue causes problems in your gapseq docker. We (the gapseq developers) are aware of the issues associated with the Sybil-family packages. We are currently working on a slim R package that includes SBML support and basic COBRA methods. The new package will replace the sybil dependencies in one of the next gapseq versions.

In the meantime, you could turn off SBML output in the gapseq workflows and translate the output models (in RDS format) to SBML using the development version of cobrar.

# remotes::install_github("Waschina/cobrar")
library(cobrar)

mod <- readSybilmod("<model.RDS>")
writeSBMLmod(mod, file_path = "<model.xml>")

@cdiener
Copy link
Author

cdiener commented May 3, 2024

Thanks Silvio. I pinned libsbml to an older version in the docker so for now it's working there. But good to hear you're developing a new interface. Best of luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants