Code Monkey home page Code Monkey logo

Comments (6)

luciansmith avatar luciansmith commented on August 19, 2024 2

OK! The repository now contains tests 1420-1453 (in the 'develop' branch; https://github.com/sbmlteam/sbml-test-suite/tree/develop), which cover the above tests (one per line, usually), with the 'n' and 'm' tests testing both constant and variable assigned stoichiometries (using events and rate rules), and also with StoichiometryMath, for l2 models.

They've all been tested with RoadRunner, but an external test would be great, too. Thanks!

(Also, there are a lot of new l3v2 tests in general--let us know if you get a chance to implement support for them, as it'll mean l3v2 could be officially released!)

from sbml-test-suite.

luciansmith avatar luciansmith commented on August 19, 2024

That makes sense, and is a good idea. I've been adding new tests to the test suite recently anyway; I'll add this to the list. We'd need multiple entries, with different stoichiometries, and probably negative stoichiometries, too. And variable stoichiometries. Off the top of my head, here's what I think I'd put in:

A + A ->
A + 2A ->
A + -A ->
A -> A
A -> 2A
2A -> A
2A -> -3A
-2A -> 3A
-> A + A
-> A + 2A
A + A -> B + B
A + B -> A + B
2A + -B -> -2A + B
A + 2A + -4A -> 5A + -2A + A + A
nA + mA ->
nA -> mA
-> nA + mA
nA + mA -> oB + pB
nA + mB -> oA + pB

Anything else I should add? Thanks for the suggestion!

from sbml-test-suite.

FFroehlich avatar FFroehlich commented on August 19, 2024

Great!
Might be reasonable to also make combinations with AssignedConstantStoichiometry (as in 1064-1102) and AssignedVariableStoichiometry (as in 1103-1109).

from sbml-test-suite.

mhucka avatar mhucka commented on August 19, 2024

Very impressive. Thanks for doing that!

from sbml-test-suite.

FFroehlich avatar FFroehlich commented on August 19, 2024

I can confirm that that test cases 1420-1453 are working for me. l3v2 tests will take a little bit longer ( we do not support the full spectrum of SBML functionality so you will probably also need testing from more tools)

from sbml-test-suite.

luciansmith avatar luciansmith commented on August 19, 2024

Great! Glad to hear they're working for you. Do let us know if you find more situations not covered by the test suite; we'll be happy to add them in. Closing this tracker item for now; feel free to re-open if something else comes up.

from sbml-test-suite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.