query_s3_file: Perform what should be a completely silly final check on the...

View source: R/query_s3_file.R

query_s3_fileR Documentation

Perform what should be a completely silly final check on the file which is to be copied to s3.

Description

This function really should not be needed. But damn. This will do a final check that the data in the s3 staging directory is loadable in R and return the md5 sum of the file. Thus the md5 sum may be added to the metadata.

Usage

query_s3_file(row, file_type = "OrgDb", file_column = "OrgdbFile")

Arguments

row

Metadata row to query.

file_type

Currently I have 3 file types of interest.

file_column

Name of the column with the locations of the files of interest.

Value

MD5 checksum of the resulting file, or NULL.


khughitt/EuPathDB documentation built on Nov. 4, 2023, 4:19 a.m.