code: def _fix_uncontracted(basis):
      '''
      Forces the contraction coefficient of uncontracted shells to 1.0
      '''
  
      for el in basis['elements'].values():
          if 'electron_shells' not in el:
              continue
  
          for sh in el['electron_shells']:
              if len(sh['coefficients']) == 1 and len(sh['coefficients'][0]) == 1:
                  sh['coefficients'][0][0] = '1.0000000'
  
              # Some uncontracted shells don't have a coefficient
              if len(sh['coefficients']) == 0:
                  sh['coefficients'].append(['1.0000000'])
  
      return basif _fix_uncontracted(basis):
      '''
      Forces the contraction coefficient of uncontracted shells to 1.0
      '''
  
      for el in basis['elements'].values():
          if 'electron_shells' not in el:
              continue
  
          for sh in el['electron_shells']:
              if len(sh['coefficients']) == 1 and len(sh['coefficients'][0]) == 1:
                  sh['coefficients'][0][0] = '1.0000000'
  
              # Some uncontracted shells don't have a coefficient
              if len(sh['coefficients']) == 0:
                  sh['coefficients'].append(['1.0000000'])
  
      return basis
docs: Forces the contraction coefficient of uncontracted shells to 1.0