ó
ÂxTc           @   st   d  d l  m Z d  d l m Z d  d l m Z d  d l m Z d  d l Z	 d   Z
 e d k rp e
   d GHn  d S(	   i˙˙˙˙(   t   division(   t   tst_build_alt_confs(   t   anneal_real_space(   t   null_outNc          C   s}   t  j d d  d d d d d d g }  t j d	 |  d
 t    } t j j d  s[ t  | d k rs | d k  sy t  d  S(   Nt   prefixt   tst_anneal_real_spaces   tst_anneal_real_space_start.pdbs   tst_anneal_real_space.mtzs"   selection="chain A and resseq 2:4"s.   output.file_name=tst_anneal_real_space_out.pdbs,   map_file_name=tst_anneal_real_space_maps.mtzs   include_starting_model=Falset   argst   outs   tst_anneal_real_space_out.pdbi    i   (	   R   t   prepare_inputsR   t   runR   t   ost   patht   isfilet   AssertionError(   R   t   rmsd(    (    sT   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/regression/tst_anneal_real_space.pyt   exercise   s    	t   __main__t   OK(   t
   __future__R    t   mmtbx.regressionR   t   mmtbx.command_lineR   t   libtbx.utilsR   t   os.pathR
   R   t   __name__(    (    (    sT   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/regression/tst_anneal_real_space.pyt   <module>   s   	