U
    ½mœdœ  ã                
   @   sH  d Z ddlmZ ddlZzddlmZ W nF ek
rn   ddlm	Z
 e
 e
 e
 e¡dd¡¡rhedƒ‚n‚ Y nX dd	lmZ ejejkr¨ed
 djejŽ djejŽ ¡ƒ e ¡  ddlmZmZ eƒ  e e¡ ddlmZ eƒ  ddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%mZm&Z& ddl'm(Z( ddl)m*Z*m+Z+m,Z, ddl-m.Z.m/Z/m0Z0m1Z1 ddl2m3Z3m4Z4m5Z5m6Z6 ddl7m8Z8 ddl9m:Z: ddl;m<Z< ddl=m>Z> ddl?m@Z@ ddl"mAZAmBZB ddl$mCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZO ddl#mPZP dd	lmZQ ejdd… e@ƒ jRk�r2ddlSmTZTmUZU d"dd„ZVd d!„ ZWdS )#zZ
    This is the h5py package, a Python interface to the HDF5
    scientific data format.
é    )ÚwarnNé   )Ú_errorsz..zsetup.pyz\You cannot import h5py from inside the install directory.
Change to another directory first.)ÚversionzWh5py is running against HDF5 {0} when it was built against {1}, this may cause problemsz{0}.{1}.{2})Úregister_convertersÚunregister_converters)Ú_register_lzf)Úh5aÚh5dÚh5dsÚh5fÚh5fdÚh5gÚh5rÚh5sÚh5tÚh5pÚh5zÚh5pl)Úfilters)Úis_hdf5ÚHLObjectÚEmpty)ÚFileÚregister_driverÚunregister_driverÚregistered_drivers)ÚGroupÚSoftLinkÚExternalLinkÚHardLink)ÚDataset)ÚDatatype)ÚAttributeManager)ÚMultiBlockSlice)Ú
get_config)Ú	ReferenceÚRegionReference)Úspecial_dtypeÚcheck_dtypeÚ
vlen_dtypeÚstring_dtypeÚ
enum_dtypeÚ	ref_dtypeÚregionref_dtypeÚopaque_dtypeÚcheck_vlen_dtypeÚcheck_string_dtypeÚcheck_enum_dtypeÚcheck_ref_dtypeÚcheck_opaque_dtype)Ú	UNLIMITEDé   )ÚVirtualSourceÚVirtualLayoutÚ c                 C   s   ddl m} || ƒS )zARun tests with pytest and returns the exit status as an int.
    r   )Ú	run_tests)Útestsr:   )Úargsr:   © r=   úF/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/h5py/__init__.pyr:   Y   s    r:   c                  C   s’   ddl } d| jkr†d}zddlm} | ¡ }W n> tk
rZ   ddlm} | ¡ dk	}Y n t	k
rl   Y nX |r†ddl
m} | ¡ S td	ƒ‚dS )
zn Call this from an interactive IPython session to enable tab-completion
    of group and attribute names.
    r   NÚIPythonF)ÚInteractiveShell)Úipapir   )Úipy_completerz3Completer must be enabled in active ipython session)ÚsysÚmodulesZIPython.core.interactiveshellr@   ZinitializedÚImportErrorr?   rA   ÚgetÚ	Exceptionr9   rB   Úload_ipython_extensionÚRuntimeError)rC   Z
ip_runningr@   Z_ipapirB   r=   r=   r>   Úenable_ipython_completerb   s    
rJ   )r9   )XÚ__doc__Úwarningsr   Ú_warnÚatexitr9   r   rE   Úos.pathÚpathZ_opÚexistsÚjoinÚdirnameÚ__file__r   Zhdf5_version_tupleZhdf5_built_version_tupleÚformatZsilence_errorsZ_convr   Z_register_convertersr   Z_unregister_convertersÚregisterr   r   r	   r
   r   r   r   r   r   r   r   r   r   Z_hlr   Z_hl.baser   r   r   Z	_hl.filesr   r   r   r   Z	_hl.groupr   r   r   r    Z_hl.datasetr!   Z_hl.datatyper"   Z	_hl.attrsr#   Ú	_selectorr$   Zh5r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   Ú__version__Zvds_min_hdf5_versionZ_hl.vdsr7   r8   r:   rJ   r=   r=   r=   r>   Ú<module>
   sN   


ý
8<
	