File size: 328 Bytes
1be55d5
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
def get_condition(condition):
  print('Updating condition for headline...')
  if condition:
    if 'healthy' in condition.lower():
        condition = 'healthy subjects'
        return condition
    else:  
        condition =  ' and '.join(condition.split('|'))
        return condition 
  else:
       'No condition avaialble'