§
    ¶ ´iË  ã                   ó:   — d Z ddlmZmZmZmZ ddlZddlZdd„ZdS )zÈ
command_line
------------

Module for functions used as command line entry points.

The names of the corresponding command line scripts can be found in the
``entry_points`` section of ``setup.py``.

é    )Úabsolute_importÚdivisionÚprint_functionÚunicode_literalsNc                 óv  — | €Ht          j        d¬¦  «        }|                     ddd¬¦  «         |                     ¦   «         }|j        } | D ]k}t          j        |dd¬	¦  «        5 }t          d
                     |¦  «        |¬¦  «         | 	                    |¬¦  «         ddd¦  «         n# 1 swxY w Y   ŒldS )a|  
    Print the MRC header contents from a list of files.
    
    This function opens files in permissive mode to allow headers of invalid
    files to be examined.
    
    Args:
        names: A list of file names. If not given or :data:`None`, the names
            are taken from the command line arguments.
        print_file: The output text stream to use for printing the headers.
            This is passed directly to the ``print_file`` argument of
            :meth:`~mrcfile.mrcobject.MrcObject.print_header`. The default is
            :data:`None`, which means output will be printed to
            :data:`sys.stdout`.
    Nz3Print the MRC header contents from a list of files.)ÚdescriptionÚfilenameÚ*zInput MRC file)ÚnargsÚhelpT)Ú
permissiveÚheader_onlyzMRC header for {}:)Úfile)Ú
print_file)
ÚargparseÚArgumentParserÚadd_argumentÚ
parse_argsr	   ÚmrcfileÚopenÚprintÚformatÚprint_header)Únamesr   ÚparserÚargsÚnameÚmrcs         ú^/srv/www/vhosts/g4struct/public_html/venv/lib/python3.11/site-packages/mrcfile/command_line.pyÚprint_headersr       s  € ð  €}ÝÔ(ØMð
ñ 
ô 
ˆð 	×Ò˜J¨cÐ8HÐÑIÔIÐIØ× Ò Ñ"Ô"ˆØ”ˆØð 4ð 4ˆÝŒ\˜$¨4¸TÐBÑBÔBð 	4ÀcÝÐ&×-Ò-¨dÑ3Ô3¸*ÐEÑEÔEÐEØ×Ò¨
ÐÑ3Ô3Ð3ð	4ð 	4ð 	4ñ 	4ô 	4ð 	4ð 	4ð 	4ð 	4ð 	4ð 	4øøøð 	4ð 	4ð 	4ð 	4øð4ð 4s   Á&;B-Â-B1	Â4B1	)NN)	Ú__doc__Ú
__future__r   r   r   r   r   r   r    © ó    r   ú<module>r%      s}   ðð	ð 	ð*ð *ð *ð *ð *ð *ð *ð *ð *ð *ð *ð *ð €€€à €€€ð4ð 4ð 4ð 4ð 4ð 4r$   