-
Notifications
You must be signed in to change notification settings - Fork 175
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
[SQL] Removed mri_acquisition_dates table from the database and the LORIS code #4962
[SQL] Removed mri_acquisition_dates table from the database and the LORIS code #4962
Conversation
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 think this should go to major, as it's likely there are queries out there in the world that depend on it which would break that will need to be updated (ie. analysis pipelines that use it to get the date of the nearest phantom.)
2c78f05
to
49da3bf
Compare
@driusan Done :) |
Small code change needed to pass Travis |
@johnsaigle Thank you for the copy of the Travis error! It was very handy to not have to go through the whole log ;). Should be fixed now and Travis will hopefully be happy this time! |
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.
@coreyAbout It should be fixed now. I also fixed Travis (hopefully) |
Great! It works! @cmadjar |
Brief summary of changes
This PR removes the
mri_acquisition_dates
table from the database as this table does not necessarily store the correct acquisition date. Instead, replaced all the queries to look for the minimal date present in theparameter_file
table which is more robust than what was stored inmri_acquisition_dates
.Note: the decision to remove this table was taken during an imaging meeting in 2017 and confirmed at an other imaging meeting in 2019.
Link to the MRI PR: aces/Loris-MRI#463
Testing instructions (if applicable)
SQL/New_patches/2019-07-17_remove_mri_acquisition_dates_table.sql
Links to related tickets (GitHub, Redmine, ...)