<div dir="ltr">Hi Alfredo,<div><br></div><div>How come there is no upload associated with this scan? I don't see how it is possible for a DICOM study unless you did some manual deletion instead of running the delete script?</div><div><br></div><div>You could always manually delete the entry for the mislabelled scan in the tarchive table. Usually, deleting from tarchive will also delete the attached entries present in tarchive_series and tarchive_files.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Cécile</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 1, 2021 at 2:10 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear LorisDev team,<br>
<br>
I uploaded some MRI visits to a dataset using the wrong combination of PSCID and CandId. LORIS detected this, and put the scans in the "MRI Violated Scans" with this comment "PSCID and CandID of the image mismatch”. <br>
<br>
I would like to remove this MRI visit but I cannot remove them so that I can reupload them. On one side I don't see an uploadId that I can get to remove the scans. On the other hand, I resolved the problem using the "rejected option" but I cannot re-upload the visits. When re-uploading I am getting the following error:<br>
<br>
===<br>
The user 'lorisadmin' has already inserted this study. <br>
The unique study ID is '1.2.826.0.2.202387.200189250087163090034121192183204101173055193'.<br>
This is the information retained from the first time the study was inserted:<br>
<br>
* Taken from dir                   :    /tmp/ImagingUpload-17-33-ica8OF<br>
* Archive target location          :    /xxx/loris_data/xxx/data/tarchive/DCM__ImagingUpload-17-33-ica8OF.tar<br>
* Name of creating host            :    1xx.xxx.xxx.49<br>
* Name of host OS                  :    Linux<br>
* Created by user                  :    lorisadmin<br>
* Archived on                      :    2021-10-21 17:36:20<br>
* dicomSummary version             :    1 <br>
* dicomTar version                 :    1  <br>
* md5sum for DICOM tarball         :    aeb2fb07433d5ee6bd1fdf43f653c236  ImagingUpload-17-33-ica8OF.tar <br>
* md5sum for DICOM tarball gzipped :    670ce2246efc599566344d0a4101eb50  ImagingUpload-17-33-ica8OF.tar.gz <br>
* md5sum for complete archive      :    47953dd83530d53b670e12ec98494dbb  DCM__ImagingUpload-17-33-ica8OF.tar<br>
===<br>
<br>
How can I remove those scans so that I can reupload them.<br>
<br>
Best,<br>
Alfredo.<br>
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="http://www.massgeneralbrigham.org/complianceline" rel="noreferrer" target="_blank">http://www.massgeneralbrigham.org/complianceline</a> . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.<br>
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. <br>
<br>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div>