Skip to content

Questions about a missing attribute #16

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

Open
Unaimend opened this issue May 4, 2025 · 3 comments
Open

Questions about a missing attribute #16

Unaimend opened this issue May 4, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@Unaimend
Copy link

Unaimend commented May 4, 2025

I just tried to rewrite one of my Python tools in Rust. But I was not able to find the following SBML section in the output that was produced by let doc: SBMLDocument = SBMLReader::from_xml_string(&content);. I usually use cobrapy and am not very familiar with raw SBML files, so maybe I just overlooked it.
So, is this already implemented?

 <fbc:listOfObjectives fbc:activeObjective="obj">
      <fbc:objective fbc:id="obj" fbc:type="maximize">
        <fbc:listOfFluxObjectives>
          <fbc:fluxObjective fbc:reaction="R_BIOMASS_Ecoli_core_w_GAM" fbc:coefficient="1"/>
        </fbc:listOfFluxObjectives>
      </fbc:objective>
    </fbc:listOfObjectives>
@JR-1991
Copy link
Member

JR-1991 commented May 4, 2025

No, the ListOfObjectives is not yet implemented, but I am happy to add this asap.

@JR-1991 JR-1991 added the enhancement New feature or request label May 4, 2025
@JR-1991 JR-1991 added this to EnzymeML May 4, 2025
@Unaimend
Copy link
Author

Unaimend commented May 4, 2025

That would be quite helpful. Thank you very much for your time

@fbergmann
Copy link
Member

This would require a slight change to the vcpkg import, so that not libsbml but libsbml[fbc] is pulled. But i think it is fine to add libsbml extensions as people have a need for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants