ó
ąxTc           @   s3   d  d l  m Z d   Z e d k r/ e   n  d S(   i˙˙˙˙(   t   divisionc          C   s   d d l  m }  d d l m } yC |  j   } |  j   } |  j   } d  | | | g k sb t  Wn( |  j	 k
 r | d d d   n Xd GHd  S(   Ni˙˙˙˙(   t   server(   t   Sorrys9   The monomer library installation could not be found.  If s?   you are using a Phenix installer, we recommend downloading the s!   installer again and reinstalling.t   OK(
   t   mmtbx.monomer_libraryR   t   libtbx.utilsR   t   mon_lib_list_cift   geostd_list_cift   mon_lib_ener_lib_cift   Nonet   AssertionErrort   MonomerLibraryServerError(   R   R   t   cif1t   cif2t   cif3(    (    sT   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/command_line/verify_mon_lib_data.pyt   run   s    t   __main__N(   t
   __future__R    R   t   __name__(    (    (    sT   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/command_line/verify_mon_lib_data.pyt   <module>   s   	