parameters: (name)
docstring: Ensure non-symmetric density matrices are supported for the selected JK routine.
docstring_summary: Ensure non-symmetric density matrices are supported for the selected JK routine.
docstring_tokens: Ensure non - symmetric density matrices are supported for the selected JK routine .
function: def check_non_symmetric_jk_density(name):
      """
      Ensure non-symmetric density matrices are supported for the selected JK routine.
      """
      scf_type = core.get_global_option('SCF_TYPE')
      supp_jk_type = ['DF', 'DISK_DF', 'MEM_DF', 'CD', 'PK', 'DIRECT', 'OUT_OF_CORE']
      supp_string = ', '.join(supp_jk_type[:-1]) + ', or ' + supp_jk_type[-1] + '.'
  
      if scf_type not in supp_jk_type:
          raise ValidationError("Method %s: Requires support for non-symmetric density matrices.\n"
                                "     Please set SCF_TYPE to %s" % (name, supp_string))
function_tokens: def check_non_symmetric_jk_density ( name ) : scf_type = core . get_global_option ( 'SCF_TYPE' ) supp_jk_type = [ 'DF' , 'DISK_DF' , 'MEM_DF' , 'CD' , 'PK' , 'DIRECT' , 'OUT_OF_CORE' ] supp_string = ', ' . join ( supp_jk_type [ : - 1 ] ) + ', or ' + supp_jk_type [ - 1 ] + '.' if scf_type not in supp_jk_type : raise ValidationError ( "Method %s: Requires support for non-symmetric density matrices.\n" "     Please set SCF_TYPE to %s" % ( name , supp_string ) )