Skip to content

Commit 4886519

Browse files
author
Jan Červený
authored
Merge pull request #12 from GCRI-DoAB/devel-GrowthOptimizer
Devel growth optimizer
2 parents d756e0c + dfbe851 commit 4886519

2 files changed

Lines changed: 124 additions & 78 deletions

File tree

O2-PIcurveMeasurement.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ var UserDefinedProtocol = {
2323
*
2424
* @script PI-Curves Measurement - Photosynthesis Efficiency Quantification
2525
* @author CzechGlobe - Department of Adaptive Biotechnologies (JaCe)
26-
* @version 1.2.2
27-
* @modified 26.10.2018 (JaCe)
26+
* @version 1.2.3
27+
* @modified 16.3.2019 (JaCe)
2828
* @notes For proper function of the script following protocols have to be disabled: "Lights", "Bubble intr. valve" and "Stirrer"
2929
*
3030
* @param {number} oxygenMeasurementDuration [s] Duration of O2 evolution measurement
@@ -123,7 +123,7 @@ if (experimentDuration >= measurementTime) {
123123
theAccessory.context().put('light1Value', light1.getValue())
124124
bubbles.setRunningProtoConfig(ProtoConfig.OFF)
125125
stirrer.setRunningProtoConfig(new ProtoConfig(UserDefinedProtocol.stirrerIntensityValues[1]))
126-
controlLights(light0.getValue() * UserDefinedProtocol.lightStepMultiplierValues[changeCounter] * UserDefinedProtocol.photosynthesisCurveLightMultiplierValues[multiplierStep], light1.getValue())
126+
controlLights(light0.getValue() * UserDefinedProtocol.lightStepMultiplierValues[changeCounter] * UserDefinedProtocol.photosynthesisCurveLightMultiplierValues[multiplierStep], light1.getValue() * UserDefinedProtocol.lightStepMultiplierValues[changeCounter] * UserDefinedProtocol.photosynthesisCurveLightMultiplierValues[multiplierStep])
127127
}
128128
if ((experimentDuration > (resumeTime - UserDefinedProtocol.respirationMeasurementDuration)) && !photosynthesis) {
129129
theAccessory.context().put('photosynthesis', 1)

0 commit comments

Comments
 (0)