U
    f»{jÿ  ã                   @   s*   d Z ddlZddlZdd„ Zej ¡  dS )zÌShow the contents of a FIFF file.

Examples
--------
.. code-block:: console

    $ mne show_fiff test_raw.fif


To see only tag 102:

.. code-block:: console

    $ mne show_fiff test_raw.fif --tag=102

é    Nc                  C   sv   t jjjtdd�} | jdddddd� |  ¡ \}}t|ƒd	krP|  ¡  t	 
d	¡ t jj|d
 |jd� ¡ }t|ƒ dS )zRun command.zmne show_fiff <file>)Úusagez-tz--tagÚtagz"provide information about this tagZTAG)ÚdestÚhelpÚmetavaré   r   )r   N)ÚmneÚcommandsÚutilsZget_optparserÚ__file__Ú
add_optionÚ
parse_argsÚlenÚ
print_helpÚsysÚexitÚioZ	show_fiffr   ÚstripÚprint)ÚparserÚoptionsÚargsÚmsg© r   úY/var/www/html/bwave/python/venv/lib/python3.8/site-packages/mne/commands/mne_show_fiff.pyÚrun   s     ÿ
 ÿ
r   )Ú__doc__r   r   r   r
   Zrun_command_if_mainr   r   r   r   Ú<module>   s   