<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear LorisDev team,
<div class=""><br class="">
</div>
<div class="">I just came across an issue for about 100 segmentations that I’m attaching to some images using the script “register_processed_data.pl”. I found that the hash for two different files is exactly the same, and thus one of the files cannot be uploaded.
 The segmentations are different and are linked to two different images.</div>
<div class=""><br class="">
</div>
<div class="">Here is the code that is finding the “duplicate” hash in the database:</div>
<div class=""><a href="https://github.com/SPINEProject/Loris-MRI/blob/62ae20930af73935a3a03071307b2575abf165f1/uploadNeuroDB/NeuroDB/MRI.pm#L1188-L1206" class="">https://github.com/SPINEProject/Loris-MRI/blob/62ae20930af73935a3a03071307b2575abf165f1/uploadNeuroDB/NeuroDB/MRI.pm#L1188-L1206</a></div>
<div class=""><br class="">
</div>
<div class="">What do you think I can do in this case? I’m happy to share the anonymized segmentation files if needed.</div>
<div class=""><br class="">
</div>
<div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">I am running Loris-MRI v23.0-release.</span></div>
<div class=""><br class="">
</div>
<div class="">On a side note, when the script “ <span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">register_processed_data.pl</span>” exits there is no error message send to the terminal. <font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Can
 we add an error printer when this happens? This is where the script is exiting in my case:</span></font></div>
<div class=""><a href="https://github.com/SPINEProject/Loris-MRI/blob/62ae20930af73935a3a03071307b2575abf165f1/uploadNeuroDB/register_processed_data.pl#L329" class="">https://github.com/SPINEProject/Loris-MRI/blob/62ae20930af73935a3a03071307b2575abf165f1/uploadNeuroDB/register_processed_data.pl#L329</a></div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Alfredo.</div>
<p class="MsoNormal">The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at <a href="https://www.massgeneralbrigham.org/complianceline">https://www.massgeneralbrigham.org/complianceline</a> .</p><br>
<p class="MsoNormal">Please note that this e-mail is not secure
(encrypted).  If you do not wish to continue communication over
unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you
understand and accept this risk and wish to continue to communicate over
unencrypted e-mail.  </p></body>
</html>