Parcourir la source

Update trio-oref bundle after variable typo fix

Deniz Cengiz il y a 1 an
Parent
commit
cbe21a816c

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
Trio/Resources/javascript/bundle/determine-basal.js


Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
Trio/Resources/javascript/bundle/profile.js


+ 2 - 1
oref0_source_version.txt

@@ -1,6 +1,7 @@
-oref0 branch: tcd-fixes - git version: ffb9374
+oref0 branch: tcd-fixes - git version: af8f79c
 
 Last commits:
+af8f79c Fix typo; remove enableDynamicCR setting from profile/index.js
 ffb9374 Always add minPredBG to rT object
 814b629 Remove dynamicCR
 4b62fe2 Lower min carb ratio to 1 g/U (down from 3)

+ 1 - 1
trio-oref/lib/determine-basal/determine-basal.js

@@ -358,7 +358,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
 
     console.log(logOutPut);
 
-    if (!dynISFenabledR) {
+    if (!dynISFenabled) {
         tddReason += "";
     } else if (dynISFenabled && profile.tddAdjBasal) {
         tddReason += dynamicISFLog + formula + limitLog + afLog + basal_ratio_log;

+ 0 - 2
trio-oref/lib/profile/index.js

@@ -73,7 +73,6 @@ function defaults ( ) {
     , adjustmentFactor: 0.8
     , adjustmentFactorSigmoid: 0.5
     , useNewFormula: false
-    , enableDynamicCR: false
     , sigmoid: false
     , weightPercentage: 0.65
     , tddAdjBasal: false // Enable adjustment of basal based on the ratio of 24 h : 10 day average TDD
@@ -105,7 +104,6 @@ function displayedDefaults () {
     profile.adjustmentFactor = allDefaults.adjustmentFactor;
     profile.adjustmentFactorSigmoid = allDefaults.adjustmentFactorSigmoid;
     profile.useNewFormula = allDefaults.useNewFormula;
-    profile.enableDynamicCR = allDefaults.enableDynamicCR;
     profile.sigmoid = allDefaults.sigmoid;
     profile.weightPercentage = allDefaults.weightPercentage;
     profile.tddAdjBasal = allDefaults.tddAdjBasal;