biobricks-ai / ctdbase

CTD is a robust, publicly available database that aims to advance understanding about how environmental exposures affect human health
3 stars 0 forks source link

Setup ctdbase for biobricks #2

Closed achatrath closed 2 years ago

achatrath commented 2 years ago
achatrath commented 2 years ago

This brick is now functional.

tomlue commented 2 years ago
biobricks::brick_install("ctdbase")
biobricks::brick_pull("ctdbase")
biobricks::brick_load_arrow("ctdbase")
# Error in check_brick_has_data(brick) : 
#  no data for ctdbase do you need to `brick_pull` or `brick_repro`?
achatrath commented 2 years ago

I added .dvc/config

tomlue commented 2 years ago

Still not working for me, maybe need to dvc push? If you have th most recent biobricks then you can test if things are working with:

biobricks::local_bblib() # sets up a test biobricks directory
biobricks::brick_install("ctdbase") # installs the brick to the test dir
biobricks::brick_pull("ctdbase") # pulls the data from our s3 bucket
biobricks::brick_load_arrow("ctdbase") # loads the parquet tables
tomlue commented 2 years ago

maybe I spoke too soon, this is working for me now. You can close if you are happy otherwise.