o
    Uݢg                     @  s&   d Z ddlmZ ddlZdddZdS )z)Hash function with no other dependencies.    )annotationsN   c                   sd   t  }t| dt fdddD ]}|| qW d    | S 1 s)w   Y  | S )Nrbc                     s
     S )N)read block_size_bytesfr   h/oak/stanford/groups/akundaje/marinovg/programs/cellranger-9.0.1/lib/python/cellranger/reference_hash.py<lambda>   s   
 z&compute_hash_of_file.<locals>.<lambda>    )hashlibsha1openiterupdate	hexdigest)filenamer   digestchunkr   r   r
   compute_hash_of_file
   s   
r   )r   )__doc__
__future__r   r   r   r   r   r   r
   <module>   s   