code: def ecp_pots_are_equal(pots1, pots2, compare_meta=False, rel_tol=0.0):
      '''
      Determine if a list of electron shells is the same as another
  
      The potentials are compared approximately (exponents/coefficients are 
      within a tolerance)
  
      If compare_meta is True, the metadata is also compared for exact equality. 
      '''
  
      # Lists are equal if each is a subset of the other
      # Slow but effective
      return ecp_pots_are_subset(pots1, pots2, compare_meta) and ecp_pots_are_subset(pots2, pots1, compare_metaf ecp_pots_are_equal(pots1, pots2, compare_meta=False, rel_tol=0.0):
      '''
      Determine if a list of electron shells is the same as another
  
      The potentials are compared approximately (exponents/coefficients are 
      within a tolerance)
  
      If compare_meta is True, the metadata is also compared for exact equality. 
      '''
  
      # Lists are equal if each is a subset of the other
      # Slow but effective
      return ecp_pots_are_subset(pots1, pots2, compare_meta) and ecp_pots_are_subset(pots2, pots1, compare_meta)
docs: Determine if a list of electron shells is the same as another
  
      The potentials are compared approximately (exponents/coefficients are 
      within a tolerance)
  
      If compare_meta is True, the metadata is also compared for exact equality.