Function identify_scan_db uses an SQL statement that relies on the center ID to identify a scan. This center ID is passed as an argument to this function. Unfortunately, current calls to that function pass the center name instead of the center ID...This PR corrects all these invalid calls.
To test: ensure that there's a line in your mri_protocol table with a non-null CenterID and validate that it's taken into account when identifying a scan.
Function
identify_scan_db
uses an SQL statement that relies on the center ID to identify a scan. This center ID is passed as an argument to this function. Unfortunately, current calls to that function pass the center name instead of the center ID...This PR corrects all these invalid calls.To test: ensure that there's a line in your
mri_protocol
table with a non-nullCenterID
and validate that it's taken into account when identifying a scan.