Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions nh_eobs_api/controllers/route_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,10 @@ def calculate_obs_score(self, *args, **kw):
'respiration_rate'
]:
del data[key]

# iPad submits a key as an empty string which converter doesn't like
data = {k: v for k, v in data.items() if k}

converted_data = converter(data, _logger.debug)

score_dict = api_pool.get_activity_score(
Expand Down