code: def compare_basis_against_file(basis_name,
                                 src_filepath,
                                 file_type=None,
                                 version=None,
                                 uncontract_general=False,
                                 data_dir=None):
      '''Compare a basis set in the BSE against a reference file'''
  
      src_data = read_formatted_basis(src_filepath, file_type)
      bse_data = get_basis(basis_name, version=version, data_dir=data_dir)
      return basis_comparison_report(src_data, bse_data, uncontract_general=uncontract_generalf compare_basis_against_file(basis_name,
                                 src_filepath,
                                 file_type=None,
                                 version=None,
                                 uncontract_general=False,
                                 data_dir=None):
      '''Compare a basis set in the BSE against a reference file'''
  
      src_data = read_formatted_basis(src_filepath, file_type)
      bse_data = get_basis(basis_name, version=version, data_dir=data_dir)
      return basis_comparison_report(src_data, bse_data, uncontract_general=uncontract_general)
docs: Compare a basis set in the BSE against a reference file