(filelist)
return {str(f["id"]): "md5:" + f["supplied_md5"] for f in filelist}
Returns a dict associating figshare file id to MD5 hash

    Parameters
    ----------
    filelist : list of dict
        HTTP request response from fs_get_file_list

    Returns
    -------
    response : dict
        keys are file_id and values are md5 hash
Returns a dict associating figshare file id to MD5 hash
Returns a dict associating figshare file id to MD5 hash
def fs_get_file_hash(filelist):
    """Returns a dict associating figshare file id to MD5 hash

    Parameters
    ----------
    filelist : list of dict
        HTTP request response from fs_get_file_list

    Returns
    -------
    response : dict
        keys are file_id and values are md5 hash
    """
    return {str(f["id"]): "md5:" + f["supplied_md5"] for f in filelist}
def fs_get_file_hash ( filelist ) : return { str ( f [ "id" ] ) : "md5:" + f [ "supplied_md5" ] for f in filelist }