-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: add metadata necessary to download from previous idc-versions #32
ENH: add metadata necessary to download from previous idc-versions #32
Conversation
Wow, this looks really great from the description - I will review tomorrow! How about renaming the query and the result int prior_versions_index? Or some other ..._index. It is a key step towards solving #100, but to actually solve it, we would need to integrate handling of this additional table in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just have some small suggestions.
Co-authored-by: Andrey Fedorov <fedorov@bwh.harvard.edu>
fdf2e09
to
fbbb4d4
Compare
@fedorov I just want to make sure you want to update the |
As opposed to running daily github action and doing this automatically? If that's the question, then yes - I don't see a need in automating that. |
Not a github action. Initially I had the following code to get the latest idc version dynamically. I hardcoded to v18 for now as Bill needs to update the table - SET latest_idc_version = ( |
0810559
to
fc057f7
Compare
I am pretty sure you had it hardcoded as well - if I remember correctly, I just replaced "SELECT 18" with a variable initialization. The other lines were commented out. I don't have any problem keeping the commented out lines in the query, if you prefer. We can uncomment whenever that table is fixed. I don't recall Bill mentioning he is working on that, so I don't know about the timeline. |
e0a374a
to
f8987f5
Compare
I added the commented out code back. Once Bill updates the table, we can revisit the query |
Pulls the strictly necessary metadata to allow downloading data from previous idc versions
solves ImagingDataCommons/idc-index#100