hubmapconsortium / py-hubmapbags

Python package used to build the submission for the CFDE Search Portal
1 stars 2 forks source link

Save results of pickle file into local db, e.g. use SQLite #15

Open icaoberg opened 2 years ago

icaoberg commented 2 years ago

https://github.com/hubmapconsortium/cfde-bdbag/blob/2983e76e6b33c5a7e46c9ebed0a5265698b0ddb3/hubmapbags/magic.py#L113

icaoberg commented 2 years ago

From README.md

  1. Call hubmapbags.magic.store (see ticket 19) on every pickle file from step 2. This will save the entries in the dataframe to a local SQL db. But the trick is that we will add +1 columns to the db. The extra column should be named UUID.