-
Notifications
You must be signed in to change notification settings - Fork 51
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
Change default value in code #2060
Conversation
@@ -35,15 +35,15 @@ public override IndividualMolecule AddMoleculeTo(ISimulationSubject simulationSu | |||
|
|||
AddGlobalExpression(molecule, | |||
RelExpParam(REL_EXP_BLOOD_CELLS), | |||
FractionParam(FRACTION_EXPRESSED_BLOOD_CELLS, CoreConstants.Rate.ZERO_RATE), | |||
FractionParam(FRACTION_EXPRESSED_BLOOD_CELLS, CoreConstants.Rate.ONE_RATE), |
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.
We are not using the DB For this. I would love to update that to make sure we are relying only one one source of truth. I might get a stab at it in the next PR
conflicts... |
ok no problem |
I need to fix in the DB as well |
48d2c9b
to
e0b4cd9
Compare
@@ -54899,8 +54899,8 @@ INSERT INTO tab_container_parameter_rates VALUES(5011,'GENERAL','MoleculePropert | |||
INSERT INTO tab_container_parameter_rates VALUES(1678,'COMPOUND','DRUG','Enable supersaturation','CompoundCommon','Zero_Rate',0.0,1,1.0,1,NULL); | |||
INSERT INTO tab_container_parameter_rates VALUES(5015,'GENERAL','PROTEIN','Fraction expressed on tissue-side membrane of vascular endothelium','ExpressionParameters','PARAM_f_exp_vasc_tissue_side',0.0,1,1.0,1,NULL); | |||
INSERT INTO tab_container_parameter_rates VALUES(5015,'GENERAL','PROTEIN','Fraction expressed on plasma-side membrane of vascular endothelium','ExpressionParameters','Zero_Rate',0.0,1,1.0,1,NULL); | |||
INSERT INTO tab_container_parameter_rates VALUES(5015,'GENERAL','PROTEIN','Fraction expressed in blood cells','ExpressionParameters','Zero_Rate',0.0,1,1.0,1,NULL); | |||
INSERT INTO tab_container_parameter_rates VALUES(5015,'GENERAL','PROTEIN','Fraction expressed in endosomes','ExpressionParameters','Zero_Rate',0.0,1,1.0,1,NULL); | |||
INSERT INTO tab_container_parameter_rates VALUES(5015,'GENERAL','PROTEIN','Fraction expressed in blood cells','ExpressionParameters','One_Rate',0.0,1,1.0,1,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.
One rate here. But it's not used since it's all read from the code. I am going to tackle that tomorrow. It won't be all good, but at least we won't duplicate all info like this
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.
Ready to merge
Boom |
This needs to be changed in the DB but I cna't do this until we merge the Urine stuff