Skip to content
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

Add AcquisitionDate field in the files table and back populate it #6892

Merged

Conversation

cmadjar
Copy link
Collaborator

@cmadjar cmadjar commented Aug 10, 2020

Brief summary of changes

This adds an AcquisitionDate column in the files table where the acquisition date of the files will be stored. If none are available for the file, then it will default to NULL.

Testing instructions (if applicable)

Ensure the SQL files can be run

Link(s) to related issue(s)

@cmadjar cmadjar added Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset SQL PR contains SQL modifications such as schema changes and new SQL scripts labels Aug 10, 2020
@driusan
Copy link
Collaborator

driusan commented Aug 11, 2020

This seems to be missing the update to the query in the imaging browser?

@cmadjar cmadjar added the "Help! I don't understand Travis!" PR is having a beef with TRAVIS. Someone needs to help label Aug 11, 2020
@driusan
Copy link
Collaborator

driusan commented Aug 12, 2020

@kongtiaowang can you help @cmadjar debug this? I can't figure out why it's getting stuck at "Waiting for mysqld...".. it gets past that for me locally.

@kongtiaowang kongtiaowang removed the "Help! I don't understand Travis!" PR is having a beef with TRAVIS. Someone needs to help label Aug 12, 2020
@cmadjar
Copy link
Collaborator Author

cmadjar commented Aug 12, 2020

@kongtiaowang thank you! Let see if it passes Travis now.

@jesscall
Copy link
Contributor

Looks good! Ran the sql and double checked that the AcquisitionDate field was correctly back-populated.

@jesscall jesscall added the Passed Manual Tests PR has undergone proper testing by at least one peer label Aug 12, 2020
CHANGELOG.md Outdated
@@ -26,7 +27,7 @@ requesting a new account and will be displayed in the User Accounts module (PR #
### Clean Up
- *Add item here*
### Notes For Existing Projects
- *Add item here*
- Ensure to run the SQL patch to create and update the `AcquisitionDate` field in the `files` table (PR #6892)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be here.. it'll be part of the release patch when it's compiled.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree. unless projects need to do a manual step other than the regular patch

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed in the last commit

.travis.yml Outdated Show resolved Hide resolved
@cmadjar
Copy link
Collaborator Author

cmadjar commented Aug 12, 2020

@kongtiaowang this is still failing Travis. Do you know why?

@driusan
Copy link
Collaborator

driusan commented Aug 12, 2020

I think the main branch was broken, try rebasing.

…iles table

modified RB to have the dates in the files table

update the CHANGELOG

modifying imaging browser menu page

modified the view session page to use the new files field for AcquisitionDate

add debug to travis

add debug to travis

Update raisinbread/RB_files/RB_files.sql

Co-authored-by: Shen  <kongtiaowangshen@gmail.com>

remove DEBUG from travis.yml

Update .travis.yml

Co-authored-by: Dave MacFarlane <driusan@gmail.com>

modify CHANGELOG
@cmadjar cmadjar force-pushed the add_acquisition_date_field_in_files_table branch from a3cabf5 to ddf500c Compare August 13, 2020 14:02
@cmadjar
Copy link
Collaborator Author

cmadjar commented Aug 13, 2020

Just rebased it. Let's see if that breaks the curse ;)

@driusan driusan merged commit 75c9824 into aces:main Aug 13, 2020
@ridz1208 ridz1208 added this to the 24.0.0 milestone Aug 18, 2020
zaliqarosli pushed a commit to zaliqarosli/Loris that referenced this pull request Sep 3, 2020
…6892)

This adds an AcquisitionDate column in the files table where the acquisition date of the files will be stored. If none are available for the file, then it will default to NULL.

    Resolves aces#6883 

See also: aces/Loris-MRI#553 and  aces/Loris-MRI#554
AlexandraLivadas pushed a commit to AlexandraLivadas/Loris that referenced this pull request Jun 15, 2021
…6892)

This adds an AcquisitionDate column in the files table where the acquisition date of the files will be stored. If none are available for the file, then it will default to NULL.

    Resolves aces#6883 

See also: aces/Loris-MRI#553 and  aces/Loris-MRI#554
AlexandraLivadas pushed a commit to AlexandraLivadas/Loris that referenced this pull request Jun 29, 2021
…6892)

This adds an AcquisitionDate column in the files table where the acquisition date of the files will be stored. If none are available for the file, then it will default to NULL.

    Resolves aces#6883 

See also: aces/Loris-MRI#553 and  aces/Loris-MRI#554
@cmadjar cmadjar deleted the add_acquisition_date_field_in_files_table branch September 24, 2021 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add to Release Notes PR change should be highlighted in Release notes (important security, features and bugfixes) Passed Manual Tests PR has undergone proper testing by at least one peer RaisinBread PR or issue introducing/requiring improvements to the Raidinbread dataset SQL PR contains SQL modifications such as schema changes and new SQL scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create acquisition date field in files table
5 participants