def METHOD_NAME(prefix="tst_iotbx_tst_xray_scale_1"):
  """
  Exercise obtaining exactly the same xray structure from pdb and cif.
  Caveate is SCALE records (fract_transf_matrix). In pdb they explicitly
  suppressed when crystal_symmetry is supplied, see
  iotbx/pdb/__init__.py:939 (def xray_structure_simple):
  if(crystal_symmetry is not None): self._scale_matrix = None
  """
  fo = open("%s.cif" % prefix,"w")
  print(cif_str, file=fo)
  fo.close()
  # crystal symmetry from map
  cs = crystal.symmetry((419., 419., 419., 90.0, 90.0, 90.0), 1)
  # xrs from mmCIF
  cif_inp = iotbx.pdb.input(file_name="%s.cif" % prefix)
  # print "======== doing xrs from cif =============="
  xrs_cif = cif_inp.xray_structure_simple(crystal_symmetry = cs)
  # xrs from PDB
  cif_inp.construct_hierarchy().write_pdb_file(prefix+".pdb")
  pdb_inp = iotbx.pdb.input(file_name="%s.pdb" % prefix)
  # print "======== doing xrs from pdb =============="
  xrs_pdb = pdb_inp.xray_structure_simple(crystal_symmetry = cs)
  #
  for i in range(len(xrs_cif.sites_cart())):
    assert approx_equal(xrs_cif.sites_cart()[i], xrs_pdb.sites_cart()[i])
  print("OK")