Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
zheins committed Oct 7, 2019
2 parents e8f5321 + 4456df5 commit 299d97f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions experiment/template/eVOLVER.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@ def transform_data(self, data, vials, od_cal, temp_cal):
data['transformed']['temp'] = temp_data
return data

def update_stir_rate(self, stir_rates):
def update_stir_rate(self, stir_rates, immediate = False):
data = {'param': 'stir', 'value': stir_rates,
'immediate': False, 'recurring': True}
'immediate': immediate, 'recurring': True}
logger.debug('stir rate command: %s' % data)
self.emit('command', data, namespace = '/dpu-evolver')

def update_temperature(self, temperatures):
def update_temperature(self, temperatures, immediate = False):
data = {'param': 'temp', 'value': temperatures,
'immediate': False, 'recurring': True}
'immediate': immediate, 'recurring': True}
logger.debug('temperature command: %s' % data)
self.emit('command', data, namespace = '/dpu-evolver')

Expand All @@ -258,13 +258,13 @@ def fluid_command(self, MESSAGE):
'recurring': False ,'immediate': True}
self.emit('command', command, namespace='/dpu-evolver')

def update_chemo(self, data, vials, bolus_in_s, period_config):
def update_chemo(self, data, vials, bolus_in_s, period_config, immediate = False):
current_pump = data['config']['pump']['value']

MESSAGE = {'fields_expected_incoming': 49,
'fields_expected_outgoing': 49,
'recurring': True,
'immediate': False,
'immediate': immediate,
'value': ['--'] * 48,
'param': 'pump'}

Expand Down

0 comments on commit 299d97f

Please sign in to comment.