ó
±™xTc           @   s—   d  d l  m Z d  d l m Z d  d l m Z d  d l m Z m Z d  d l	 Z
 d  d l Z e
 j j d „ Z e d k r“ e d e j d	 ƒ n  d S(
   iÿÿÿÿ(   t   division(   t
   cif_triage(   t   show_string(   t   Sorryt   UsageNc         C   sv   t  |  ƒ d k r% t d | ƒ ‚ n  xE |  D]= } t j d | ƒ } | d k r, t d t | ƒ ƒ ‚ q, q, Wd GHd  S(   Ni    s   %s cif [...]t	   file_names   No data found in file: %st   OK(   t   lenR   R   t
   check_compR   R   (   t   argst   command_nameR   t	   obj_count(    (    sS   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/command_line/mon_lib_cif_triage.pyt   run   s    t   __main__R	   i   (   t
   __future__R    t   mmtbx.monomer_libraryR   t   libtbx.str_utilsR   t   libtbx.utilsR   R   t   libtbx.load_envt   libtbxt   syst   envt   dispatcher_nameR   t   __name__t   argv(    (    (    sS   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/mmtbx/command_line/mon_lib_cif_triage.pyt   <module>   s   	