ó
¾xTc           @   sC   d  d l  m Z d  d l m Z d   Z e d k r? e   n  d S(   i’’’’(   t   division(   t   null_outc          C   s}   d d l  m }  d d l m } | d d  \ } } |  j d | | d d g d	 t    } t |  d
 k st t  d GHd  S(   Ni’’’’(   t   refine_anomalous_substructure(   t   generate_cd_cl_inputst	   file_baset   tst_mmtbx_substructuret   argss   skip_twin_detection=Trues   map_sigma_min=4t   outi   t   OK(   t   mmtbx.command_lineR   t)   mmtbx.regression.make_fake_anomalous_dataR   t   runR   t   lent   AssertionError(   R   R   t   mtz_filet   pdb_filet   anom_groups(    (    sY   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/regression/tst_anomalous_substructure.pyt   exercise   s    	t   __main__N(   t
   __future__R    t   libtbx.utilsR   R   t   __name__(    (    (    sY   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/regression/tst_anomalous_substructure.pyt   <module>   s   	