ó
ö™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  }  d d l m } d d l m } xÐ |  j d D]Á } d | GH| j | ƒ } d | j GH| | ƒ } | j ƒ  GH| j	 ƒ  GH| j
 ƒ  GH| j ƒ  GHd d l m } t | | ƒ s: y" | j | j ƒ  ƒ } d | GHWqû t k
 r÷ } | GHqû Xq: q: Wd  S(	   Niÿÿÿÿ(   t   Registry(   t   flexi   s
   === %s ===s   Using header reader: %s(   t   FormatMultiImages   Total Counts: %d(   t   syst   dxtbx.format.RegistryR   t   scitbx.array_familyR   t   argvt   findt   __name__t   get_beamt   get_goniometert   get_detectort   get_scant   dxtbx.format.FormatMultiImageR   t
   issubclasst   sumt   get_raw_datat   AttributeError(	   R   R   R   t   argt   format_classt   iR   t   countst   e(    (    sM   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/command_line/print_header.pyt   print_header   s&    	t   __main__N(   t
   __future__R    R   R	   (    (    (    sM   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/command_line/print_header.pyt   <module>   s   	