Commit f719e0f
authored
Use sbmlmath package for sympification of SBML math constructs (#2681)
* Use sbmlmath package for sympification of SBML math
Directly parse the SBML MathML constructs without going through SBML L3 formula strings are sympy.sympify due to various issues (#2146).
* ..
* fix rateof
* log_as_log10
* time
* log10; hardcoded symbols
* units, XOR
* evalf, heaviside where needed
* fixup; avogadro
* simplify, trigger==False, exception type
* bool, None
* expr/basic
* redundant formula
* Revert "redundant formula"
This reverts commit 73bec7b.
* Revert "expr/basic"
This reverts commit e592b5b.
* BooleanFunction to Piecewise
* Fix passenv
* cleanup avogadro
* evaluate / simplify
* cleanup
* -git+https
* simplify still needed?
* ..
* cleanup
* ..
* exception type; DRY
* none
* doc1 parent a87058e commit f719e0f
7 files changed
Lines changed: 237 additions & 144 deletions
File tree
- python
- sdist
- amici
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
| 413 | + | |
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
| |||
449 | 450 | | |
450 | 451 | | |
451 | 452 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
459 | 458 | | |
460 | 459 | | |
461 | 460 | | |
462 | 461 | | |
463 | 462 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
471 | 468 | | |
472 | 469 | | |
473 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
| 544 | + | |
543 | 545 | | |
544 | 546 | | |
545 | 547 | | |
| |||
598 | 600 | | |
599 | 601 | | |
600 | 602 | | |
| 603 | + | |
601 | 604 | | |
602 | 605 | | |
603 | 606 | | |
| |||
0 commit comments