-
Notifications
You must be signed in to change notification settings - Fork 12
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
GSoC - SBML L3V2 models support with some other bug fixes #48
Conversation
… ref issue draeger-lab#47 | solves models 1411, 1412, 1414
…t=0 | passes test case 1466 | ref issue draeger-lab#47
…e | passes test cases 1121, 1415, 1419
…s test cases 1642-1644, 1651-1653, 1775-1777 | ref issue draeger-lab#47
10f4540
to
3aecf34
Compare
@matthiaskoenig, Here, the thing is going on as follows: Note: GLPKSolver and GlpkSolver are different classes in scpsolver. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes requested.
Please add a FluxBalanceAnalysis test which:
- takes the ecoli core model, simulates a FBA, compares objective; currently a simple test case for FBA outside of the SBMLTestSuite is missing
if (solver instanceof AbstractDESSolver) { | ||
((AbstractDESSolver) solver).setIncludeIntermediates(false); | ||
} | ||
String fileName = ""; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally one initializes with null
. Empty string is always a very risky choice. Change to null
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the code!
* @return | ||
*/ | ||
public String getActObjFunc() { | ||
return actObjFunc; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better name is activeObjective
. Always write words out. There is code completion which makes larger names easy to use. Also rename functions to getActiveObjective
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
Will merge this as soon as the minor changes & the test case are there. |
@matthiaskoenig, I have updated the changes. And FBA test was there but it was named CobraSolverTest and was ignored by @ignore tag. I have renamed it to FluxBalanceAnalysisTest and also removed the ignore tag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay here, congratulations @hemilpanchiwala
This is fantastic!
Major changes made in SBSCL (from GSoC start):
fast
property which will be handled now.constraints
,kinetic laws
,events
,species
,rules
(assignment rules and rate rules),initial assignments
, and any others without math. This has been handled now through this PR in SBSCL.RELATIONAL_GT
,RELATIONAL_GEQ
,RELATIONAL_EQ
,RELATIONAL_NEQ
,RELATIONAL_LEQ
, andRELATIONAL_LT
are now updated to have multiple children.rateOf
csymbol that is newly added in SBML L3V2.RateRuleValue
andRuleValue
classes.changeRate
has been added to SBMLinterpreter class that keeps the value of the derivatives at the current time.constantHash
has also been added to SBMLinterpreter that has key as variables and values are boolean (true if constant else false).This PR closes #38, closes #41, closes #42, closes #43.
More information about changes made till now in SBSCL can be found at my blog posts [Link].