ó
�™xTc           @   s<   d  d l  m Z d  d l m Z m Z d d d d „ Z d S(   iÿÿÿÿ(   t   division(   t   shelxt   buildersi † c         C   sh   |  | g j  d  ƒ d k s! t ‚ t j d | d |  ƒ } t j | d t j ƒ  ƒ} | j ƒ  | j	 j
 S(   Ni   t   filet   filenamet   builder(   t   countt   Nonet   AssertionErrorR   t   command_streamt   crystal_symmetry_parserR   t   crystal_symmetry_buildert   parseR   t   crystal_symmetry(   t	   file_nameR   t   max_characterst   streamt   parser(    (    sS   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/crystal_symmetry_from_ins.pyt   extract_from   s    !
N(   t
   __future__R    t   iotbxR   R   R   R   (    (    (    sS   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/shelx/crystal_symmetry_from_ins.pyt   <module>   s   