-
Notifications
You must be signed in to change notification settings - Fork 174
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
Imaging Preprocessing Scripts: Loris-MRI configurations moved to the front end from the $profile file: Redmine 8893 #2649
Imaging Preprocessing Scripts: Loris-MRI configurations moved to the front end from the $profile file: Redmine 8893 #2649
Conversation
@driusan |
@MounaSafiHarab Interesting question. I think you're right that we don't have any way to extract them from the prod file (unless you write a script on the Loris-MRI side), so I don't think there's really anything else you could do than just use the defaults. Is there anything in them that's going to affect the data validity if people forget to manually change them in the config module? |
b7648a5
to
ecb4a9b
Compare
Data truncated for column 'Description'
|
@MounaSafiHarab this has conflicts that need to be resolved. |
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 assume that the default value's that it's using are the same as what's currently in the default pofileTemplate, in which case it looks fine.. but it needs to be merged alongside the script in Loris-MRI that populates it for existing projects, and the PR that updates the code to use the config setting for the imaging pipeline..
also, when this is eventually merged it needs to be squashed to ensure that the unnecessary merge commit doesn't get committed into the history. |
@driusan |
@MounaSafiHarab does this still need testing or is it ready to merge after the related PR has been merged ? |
Yeah, I added the blocked tag because of the 3 interrelated pull requests. Maybe they can be discussed/merged at an imaging meeting to make sure they go in in the right order and all works together? |
|
||
|
||
-- default imaging_pipeline settings | ||
INSERT INTO Config (ConfigID, Value) SELECT ID, "/PATH/TO/DATA/location" FROM ConfigSettings cs WHERE cs.Name="Loris-MRI Data Directory"; |
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.
cs.Name should be: "dataDirBasepath"
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.
thanks!
@MounaSafiHarab @driusan tested with IBIS data, and with insertion of a zip. |
Imaging insertion scripts configuration options can now be set from the Configuration module and/or Config table in the database, instead of the $profile ("prod") file in the Loris-MRI repo.
Please check the Loris-MRI pull request (Loris-MRI configurations moved to the front end from the $profile file: Redmine 8893 Loris-MRI#182) for existing projects on how to migrate existing $profile values to the database.
These settings can not be overwritten in the config.xml (because they are used by Loris-MRI perl scripts)
Related to:
aces/Loris-MRI#182
and
aces/dicom-archive-tools#45