<div dir="ltr">Hi Alfredo,<div><br></div><div>Thank you for the information. </div><div><br></div><div>Actually, you might just need to reinstall DBI via cpan? A colleague experienced the same issue and reinstalling the library fixed it.</div><div><br></div><div>Best,</div><div><br>Cécile</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 1, 2021 at 10:49 AM 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">
<div style="overflow-wrap: break-word;">
Hi Cecile,
<div><br>
</div>
<div>I checkout the git tag v23.0.3. Should I update to a newer commit? </div>
<div><br>
</div>
<div>Let me know if a quick call <font color="#000000"><span>(Zoom/Google-meet) where I can share my screen would be a good way to check this.</span></font></div>
<div><font color="#000000"><span><br>
</span></font></div>
<div>Best,</div>
<div>Alfredo.<br>
<div><br>
<blockquote type="cite">
<div>On Feb 1, 2021, at 10:03 AM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)"> External Email - Use Caution </span></p>
<div><br>
</div>
<div dir="ltr">Hi Alfredo,
<div><br>
</div>
<div>This is odd. I cannot reproduce your error when I checkout v23.0.3. </div>
<div><br>
</div>
<div>How did you do the upgrade? Via a merge of v23.0.3 onto your install or a clean checkout?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Cécile</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 6:19 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">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">
<div>Hi Cecile,
<div><br>
</div>
<div>I am now running LORIS-MRI v23.0.3 and LORIS v23.0.2. I am getting the following output for the same command line:</div>
<div><br>
</div>
<div>Command line</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">perl /data_/ipmsa/loris_data/IPMSA/bin/mri/uploadNeuroDB/<a href="http://secure-web.cisco.com/1HfwghVLNnhvfB_C6yjcJ0PIyV9YQecnEjps-53E0u6MbeEFebMU4pll7b1Aih04G20s9iHbm4roKX3-kpMS0qEPr8RkX786JJdQTnlLLczvN5htlZKdbCF-HFgXvi4bih-Llb91OEQ8zJuyFldhBXzU3Q5RBcFXBv_IRp1ySxFejEr3Af4xaUIcyIVmGyuJZlP97husjZfJ5TPWJFz8SGDgdsK1KFY3VIQ_6GCwWN1jx6F6qS4Monso02WCT4vbYIQLxFlCkBz2LSCpR_DTLBA/http%3A%2F%2Fminc_insertion.pl" target="_blank">minc_insertion.pl</a>
-profile prod -force -verbose -create_minc_pics -acquisition_protocol t2w -mincPath /home/bic/moralf/testInsertionMncAdvance/AZH101303_814099_105ms302w48/azh101303_814099_105ms302w48_20130507_123330/azh101303_814099_105ms302w48_20130507_123330_6e1_mri.mnc</span></div>
</div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">===</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Output</span></div>
<div style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">===</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">log dir is /data_/ipmsa/loris_data/IPMSA/data/logs and log file is /data_/ipmsa/loris_data/IPMSA/data/logs/TarLoad-17-32-M9vqyU.log</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">Can't locate object method "selectall_array" via package "DBI::db" at /data_/ipmsa/loris_data/IPMSA/bin/mri/uploadNeuroDB/NeuroDB/MRIProcessingUtility.pm line 1819.</font></span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"> SELECT ArchiveLocation FROM tarchive WHERE TarchiveID = ( SELECT TarchiveID FROM tarchive_series WHERE
SeriesUID=? AND EchoTime=? ) PSCID is: AZH101303</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"> CandID id: 814099</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"> visit_label is: 105ms302w48</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">PSCID is: AZH101303</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"> CandID id: 814099</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"> visit_label is: 105ms302w48</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">===</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">Log file (</span>/data_/ipmsa/loris_data/IPMSA/data/logs/TarLoad-17-32-M9vqyU.log)</div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">===</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">==> Loading file from disk /home/bic/moralf/testInsertionMncAdvance/AZH101303_814099_105ms302w48/azh101303_814099_105ms302w48_20130507_123330/azh101303_814099_105ms302w48_20130507_123330_6e1_mri.mnc</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;min-height:15px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">--> mapping DICOM parameter for /home/bic/moralf/testInsertionMncAdvance/AZH101303_814099_105ms302w48/azh101303_814099_105ms302w48_20130507_123330/azh101303_814099_105ms302w48_20130507_123330_6e1_mri.mnc</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal;min-height:15px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">--> filters out parameters of length > 1000 for /home/bic/moralf/testInsertionMncAdvance/AZH101303_814099_105ms302w48/azh101303_814099_105ms302w48_20130507_123330/azh101303_814099_105ms302w48_20130507_123330_6e1_mri.mnc</span></div>
</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">===</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<br>
</div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">I think issue is coming from this line:</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Menlo" size="2"><a href="https://secure-web.cisco.com/1ls89gAOrn_qPF_7hDFhZM3Dm-mwUagqHQwafvXg0dPa3ZxrbZR9cIMQdViW8PTwoWuhLspmBcFGZhCR21Yu6y4zl8jdxVru9KoZJNplAnrXnLitXe1G-fBVaOs2SBwcG-yjBCxHE2mbqukmXcEaLDTfsnUpeE63jBo1ItFkK5uAw9JI8wY760WQdx9CYl82w8Y1fYb6H-bHV_wJZId9orpIDXid0dcK7TmCgvrAeC9QJmGF01yUx7zPo7-0--P3MND807OtvteHEZhUxygZQ6w/https%3A%2F%2Fgithub.com%2Faces%2FLoris-MRI%2Fblob%2F8c7e41549fb10a845caa96f31c8e505ef3adca52%2FuploadNeuroDB%2FNeuroDB%2FMRIProcessingUtility.pm%23L1819" target="_blank">https://github.com/aces/Loris-MRI/blob/8c7e41549fb10a845caa96f31c8e505ef3adca52/uploadNeuroDB/NeuroDB/MRIProcessingUtility.pm#L1819</a></font></span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Menlo" size="2"><br>
</font></span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="Menlo" size="2">Maybe “</font></span><font face="Menlo" size="2"><span>selectall_array”</span> has
to be replaced by “<span>selectall_arrayref”?</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo" size="2"><span><br>
</span></font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo" size="2"><span>Thank you for all your help.</span></font></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
<span style="font-variant-ligatures:no-common-ligatures">Best,</span></div>
<div style="font-family:Menlo;font-size:13px;margin:0px;font-stretch:normal;line-height:normal">
Alfredo.</div>
</span></div>
<div><br>
</div>
<div>
<div><br>
<blockquote type="cite">
<div>On Jan 29, 2021, at 12:57 PM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)"> External Email - Use Caution </span></p>
<div><br>
</div>
<div dir="ltr">I see. There are significant changes between 22 and 23 on LORIS-MRI (mainly the ability to set specific MRI protocols based on Visit label, Projects or subprojects requiring changes to the MRI protocol tables). However, I do not foresee
any major blocker as to proceed to upgrading to 23.0 for LORIS-MRI.
<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 Fri, Jan 29, 2021 at 12:15 PM Sridar Narayanan, Dr. <<a href="mailto:sridar.narayanan@mcgill.ca" target="_blank">sridar.narayanan@mcgill.ca</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">
<div>Hi Cecile,
<div><br>
</div>
<div>I think Alfredo’s plan was to upgrade to 23.0 as soon as the upgrade to 22.0 was completed successfully (since a direct upgrade was not possible). Since 23.0 appears to fix some bugs in 22.0, when would it be most efficient to perform the 22.0
-> 23.0 upgrade? Should Alfredo ensure that 22.0 is functional with all patches applied first, to be safe, or will the upgrade to 23.0 take care of many of these issues?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Sridar</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Jan 29, 2021, at 11:09 AM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi Alfredo,
<div><br>
</div>
<div>I was able to reproduce your bug on version 22.0 of LORIS-MRI and it was maybe present in older versions as well. This was fixed in release 23.0 with better logging information.</div>
<div><br>
</div>
<div>I just sent a PR with a fix for 22.0 that you can find here: <a href="https://secure-web.cisco.com/1g4f8AjQOgqWIsAwkqWCiOmCHzD2rXDAvuqnRmnpBSVe28wjQ1Ycso_XN5QQeVmQTkmBrLxDu00wy3b7b_mzpYMTzh5yyNEYTTzPXaNV1REyVeMp1PNm0EJiRXIx8PCcD2Tw98Ks9Rki5JSfaUmH_qrvzGGoNwcYiFovDADebGANxj2t0V5ZMCoaGgG-wPYl4sugwOpqPiMIbd-061zlGUBA5mf7uIHdlCLzko8yWJN6uXGqzMTXrpsqvdo7WQbmVkF5ekuSNIuCQ6e1ttM7fTQ/https%3A%2F%2Fgithub.com%2Faces%2FLoris-MRI%2Fpull%2F573%2Ffiles" target="_blank">https://github.com/aces/Loris-MRI/pull/573/files</a></div>
<div><br>
</div>
<div>That should resolve the issue you were having. Let me know how it goes.</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Cécile</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 1:18 AM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">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">
<div>Hi Cecile,
<div><br>
</div>
<div>I tried the script <a href="http://secure-web.cisco.com/1DoH1kQn_ZoaEt8_7ZDW2QX5awXwep3yIUdillxlgWQuhboIi38Rd19WmcPx_77_POJxH11-w1X9x9y0Sxnk7Vnzsablfwld2S2oQAM2AxDU65VyGGFT9OQGt2Jv0Y7R9YCaNdyB_EXmGrUww1crVI-CFaZGVmQd3c04ZKRxb_QVZyPsF0fHct3IZ3HhoyFMAiCxVnRHr1ZxN9VHOB3xCZMg8nAk0BHTbNmxdE7nvWuHf_ZVgn26NcJdx8rNtkURZkV0IrLK8Hs8tcRc2yYW8_A/http%3A%2F%2Fminc_insertion.pl%2F" target="_blank">
minc_insertion.pl</a> but it seems that the Candidate should not exist before the execution of the script. Is this the case? This would be problematic in order to upload multiple sequences for a given Candidate. This is the error I am getting:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">$ perl <a href="http://secure-web.cisco.com/1DoH1kQn_ZoaEt8_7ZDW2QX5awXwep3yIUdillxlgWQuhboIi38Rd19WmcPx_77_POJxH11-w1X9x9y0Sxnk7Vnzsablfwld2S2oQAM2AxDU65VyGGFT9OQGt2Jv0Y7R9YCaNdyB_EXmGrUww1crVI-CFaZGVmQd3c04ZKRxb_QVZyPsF0fHct3IZ3HhoyFMAiCxVnRHr1ZxN9VHOB3xCZMg8nAk0BHTbNmxdE7nvWuHf_ZVgn26NcJdx8rNtkURZkV0IrLK8Hs8tcRc2yYW8_A/http%3A%2F%2Fminc_insertion.pl%2F" target="_blank">
minc_insertion.pl</a> -profile prod -force -verbose -create_minc_pics -acquisition_protocol t2w -mincPath /home/bic/moralf/testInsertionMncAdvance/AZH101303_814099_105ms302w48/azh101303_814099_105ms302w48_20130507_123330/azh101303_814099_105ms302w48_20130507_123330_6e1_mri.mnc</span></div>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures;font-size:11px">
<div style="margin:0px;font-stretch:normal;line-height:normal"><font face="Menlo">
<div style="margin:0px;font-stretch:normal;line-height:normal">log dir is /data_/ipmsa/loris_data/IPMSA/data/logs and log file is /data_/ipmsa/loris_data/IPMSA/data/logs/TarLoad-0-27-M2gjUd.log</div>
<div style="margin:0px;font-stretch:normal;line-height:normal">ERROR: Cannot create candidate (AZH101303, 814099) as a candidate with PSCID=AZH101303 already exists.</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"> SELECT ArchiveLocation FROM tarchive WHERE TarchiveID = ( SELECT TarchiveID FROM tarchive_series
WHERE SeriesUID=? AND EchoTime=? ) PSCID is: AZH101303</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"> CandID id: 814099</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"> visit_label is: 105ms302w48</div>
<div style="margin:0px;font-stretch:normal;line-height:normal">PSCID is: AZH101303</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"> CandID id: 814099</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"> visit_label is: 105ms302w48</div>
<div style="margin:0px;font-stretch:normal;line-height:normal">Spool message is: ERROR: Cannot create candidate (AZH101303, 814099) as a candidate with PSCID=AZH101303 already exists</div>
</font></div>
</span></div>
<div>===</div>
<div><br>
</div>
<div>Best,</div>
<div>Alfredo.</div>
<div><br>
</div>
<div>P.S. The file <span style="font-family:Menlo;font-size:11px">/data_/ipmsa/loris_data/IPMSA/data/logs/TarLoad-0-27-M2gjUd.log is not being </span><font face="Menlo"><span style="font-size:11px">written.</span></font><br>
<div><br>
<blockquote type="cite">
<div>On Jan 26, 2021, at 4:33 PM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)"> External Email - Use Caution </span></p>
<div><br>
</div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>Thank you for the clarification. I think I understand better the confusion.</div>
<div><br>
</div>
<div>You can insert MINC files without having to insert DICOM files by running the
<a href="http://secure-web.cisco.com/1CRWLdhPK0QJwqPsDM4eN1sMctn09UpUmGm1ZACvkTVa4MFcegyiYHM-gnd66amN903PeYLfAWQNIvPTZ5yOnEPThk8ksAOROmQS3eWh0U8d8V8e7OzW5hcKgr-r-hohMmcc-QL9o2-pieYi2wKVTxk6Jp1FIcAvYVtg88EIZDsttuCveFvjbvwcs__pZDy8Et4MwQsmqkvt6Oc74cpqzwx4rBRYvkaEN1XHX8VHjpAYfYevk7OMqQ5atJ7rvdQX7Wnce-Y6YMEjf3TzlKPLILg/http%3A%2F%2Fminc_insertion.pl" target="_blank">
minc_insertion.pl</a> script with the -force option. Basically, the force option will bypass checks to see if there are DICOMs to attach the file to.</div>
<div><br>
</div>
<div><a href="http://secure-web.cisco.com/1CRWLdhPK0QJwqPsDM4eN1sMctn09UpUmGm1ZACvkTVa4MFcegyiYHM-gnd66amN903PeYLfAWQNIvPTZ5yOnEPThk8ksAOROmQS3eWh0U8d8V8e7OzW5hcKgr-r-hohMmcc-QL9o2-pieYi2wKVTxk6Jp1FIcAvYVtg88EIZDsttuCveFvjbvwcs__pZDy8Et4MwQsmqkvt6Oc74cpqzwx4rBRYvkaEN1XHX8VHjpAYfYevk7OMqQ5atJ7rvdQX7Wnce-Y6YMEjf3TzlKPLILg/http%3A%2F%2Fminc_insertion.pl" target="_blank">minc_insertion.pl</a>
-profile <name of your profile file, typically prod> -mincPath <path to your MINC file> -force -create_minc_pics</div>
<div><br>
</div>
<div>For the NIfTI files alone, because of the nature of that file format (no header information like MINC...), you will have to specify a lot of the information when calling the script <a href="http://secure-web.cisco.com/1ANFDRFiRPX99wUpC1gLtmUEZUofuWa1YZIPvpt87N85cQ5aLcJwJ9Smm-wYcByOM8Od5Xjlo9-tl0ZQJY7JJ27g0DbjPQbPN_QnnSHs9CqrVFjFlbxUVjECyQKBTq0uT8IQOCtU-B9Il0lt9aY3N1aQFBd6GvX2BeQVz7KQjcRNZT9uFGQ5UUd_7hTAP4isf2q5V8InvWEmEgkYKTrZvOSEe-eXGvSk-6HvLP2LKIs_OHhCR0S-b_aO2sFFoQkvgyDg1FdVGN7K5vNrFFJu3QQ/http%3A%2F%2Fimaging_non_minc_insertion.pl" target="_blank">imaging_non_minc_insertion.pl</a>
(output_type, scan_type, date_acquired, scanner_id, coordinate_space etc... Basically all the columns of the files table). It needs to be associated with an upload_id for the logging in the database but the upload_id does not necessarily need to be DICOM files.
It could be a zipped archive of all the NIfTI files of the session uploaded for example. Then you would just need to create a little wrapper script to run
<a href="http://secure-web.cisco.com/1ANFDRFiRPX99wUpC1gLtmUEZUofuWa1YZIPvpt87N85cQ5aLcJwJ9Smm-wYcByOM8Od5Xjlo9-tl0ZQJY7JJ27g0DbjPQbPN_QnnSHs9CqrVFjFlbxUVjECyQKBTq0uT8IQOCtU-B9Il0lt9aY3N1aQFBd6GvX2BeQVz7KQjcRNZT9uFGQ5UUd_7hTAP4isf2q5V8InvWEmEgkYKTrZvOSEe-eXGvSk-6HvLP2LKIs_OHhCR0S-b_aO2sFFoQkvgyDg1FdVGN7K5vNrFFJu3QQ/http%3A%2F%2Fimaging_non_minc_insertion.pl" target="_blank">
imaging_non_minc_insertion.pl</a> on the loaded NIfTI files.</div>
<div><br>
</div>
<div>Does that clarify the steps? </div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>Cécile</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jan 25, 2021 at 5:16 PM Sridar Narayanan, Dr. <<a href="mailto:sridar.narayanan@mcgill.ca" target="_blank">sridar.narayanan@mcgill.ca</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">
<div>Hi Cecile,
<div><br>
</div>
<div>Just to clarify, many import issues seem to stem from problems with the implementation of dcm2mnc used by Loris. These DICOM files can be successfully converted to MINC and NifTI with other tools, and so we were wondering if it would be possible
to import MRI data into Loris as MINC & NifTI files <u>instead of</u> importing the DICOMs. Alternatively, we could convert these files to BIDS and import that instead of DICOM. The important point is whether we can
<u>avoid importing DICOM</u> for new scan/participant instances, but import only BIDS or MINC + NiFTI data and generate a new Loris ID from this. We are not asking about attaching a MINC or NifTI file to an existing record, which we know can be done
(e.g. for label files associated with the images).</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Sridar</div>
<div><br>
</div>
<div><br>
<blockquote type="cite">
<div>On Jan 25, 2021, at 5:01 PM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi Alfredo,
<div><br>
</div>
<div>I am a bit confused by your email. The two perl scripts I mentioned last week do not require the data to be organized in BIDS to insert them. Did you look into them?</div>
<div><br>
</div>
<div>Sorry, maybe I am missing something.</div>
<div><br>
</div>
<div>Cécile</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Jan 25, 2021 at 3:45 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">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">
<div>Hi Cecile,
<div><br>
</div>
<div>Thank you for your answer. I am sorry I was not enough specific regarding what we are looking for. We are actually looking for a solution to avoid importing the “raw” images in minc and nifti images instead of DICOM. We are having a lot of issues
importing DICOM (~1.700 visits with issues) and we want to explore options for uploading the original images (e.g., t1) using minc and nifti without them being in BIDS formar.</div>
<div><br>
</div>
<div>Do you have scripts for this?</div>
<div><br>
</div>
<div>Best,</div>
<div>Alfredo.<br>
<div><br>
<blockquote type="cite">
<div>On Jan 19, 2021, at 1:59 PM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)"> External Email - Use Caution </span></p>
<div><br>
</div>
<div dir="ltr">Hi Alfredo,
<div><br>
</div>
<div>Very sorry for the late reply. In short, yes, it is possible to do both.</div>
<div><br>
</div>
<div>It is possible to insert MINC files in LORIS by using the LORIS-MRI script called
<a href="https://secure-web.cisco.com/1h8RHj_R4mnovi1vzHjXIG7OriE5SmwPXivIa6upEGgUmO0oyYw5rNJDqM2MdvPGvTNW0VgU36iIDos755qEXc2ZLdcGpGZQRfXLN_QGCSHqe5_pR8SPcRCLVkIkUT9JFyTm2tgFJomSHtiCakjIicPSDvv5QaC2BEX0O8gPHeY_UrixP8DhG29aU9BwThbmfsNCgJS9rWE8hkKiSJu3dXUWYZuz3SELo6A5cEG3a0urWWaEYKsL-uNUUQlpn-dLXHjrf4KywfR-f_8XtyxHIrA/https%3A%2F%2Fgithub.com%2Faces%2FLoris-MRI%2Fblob%2Fmain%2FuploadNeuroDB%2Fminc_insertion.pl" target="_blank">
minc_insertion.pl</a> in the uploadNeuroDB folder. If you run perl <a href="http://secure-web.cisco.com/13jgtqDYN7Gf_vgFThFhtlVEFqhsVru-JRquRrfzp92y9hcK9koGa9r9E_RCEHuDzqw9ZQq4eWBdGe5cbbKU8_yrxXgz98kTVTBySSdwUF3dgAiL6ls9glxHxeHwLfR-M9U6DLj3ePJR758eO7Ukl-KBwGCnH1TTfOmLDAPWxs4ABKnOnHa0AHFN4qsRIDO6BMvq5wK_o-G0mjUXNUyb7jkUjg-xsaAHbLYjZ1X15d3pWFi0jmNTPfm57PC77a41n7xp5Ae2Ji6UtzrGAczTtBg/http%3A%2F%2Fminc_insertion.pl" target="_blank">
minc_insertion.pl</a> -h; you will see the explanation on how to run the script.</div>
<div><br>
</div>
<div>Regarding NIfTI files that are not in BIDS, you can use the LORIS-MRI script called
<a href="https://secure-web.cisco.com/11rMDfTbsxeYelAro9qFHffjunl6PQySl-cFRkp1QAl_sinKZ_2ULH-80TnkR2omX6h5c78cX8Vvl4xgml5nGxkii9oOTjLtfmZO4NsBu-w2Dxh2E5l5p4rjx9RKrSRQak24h8B8rvl1sVWzkBe5qftWBHEd1FCLV4ptJPdCzV7xqJf3fMCIGfs77Mk6WCmGBhuL0FPSHDnWmRRvXzXAT5wH5eAUsHI3_2F8yAh25Hpvd-t9vttu-mAGU_XbLNQXQf2DNBFxGjThITPI2ptn38Q/https%3A%2F%2Fgithub.com%2Faces%2FLoris-MRI%2Fblob%2Fmain%2FuploadNeuroDB%2Fimaging_non_minc_insertion.pl" target="_blank">
imaging_non_minc_insertion.pl</a> in the same uploadNeuroDB folder. Running perl <a href="http://secure-web.cisco.com/1JUwbjz4V-PmM1LkrSIDPw4ydwAZ7otVSJadvo40dcrQMsYYfCLZsWRbpIcZwOZ3-TV3DyLARQX4Fp7-IHGmufed_LFzA0ah5UuJSegiZBGWQE9RiKXU6LxPe9xHqMfhyirSZF4zFetUaHoOtn5Pa9lFbV5o2FFI95zKG4NrmEX-HgUA_dMYmHrIFagQBzH_uujh-hUSiWM7Hvbf_d_KanWYNOrmkjAoe07MI18KuH0XsY5Gmhap81i-fVggYZHLthuCTL9_Dpky-ZNaeiyOlZw/http%3A%2F%2Fimaging_non_minc_insertion.pl" target="_blank">
imaging_non_minc_insertion.pl</a> should give you all the information you need in order to run the script.</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 Thu, Jan 14, 2021 at 3:28 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">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>
Is is possible to upload nifti and minc files into LORIS, for instance to a given visit, without having the files in BIDS format?<br>
<br>
Best regards,<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://secure-web.cisco.com/1q-ePyFea6WSQhWdpXg0cjjf5QxojMXFKfAvUcNMmHc3nbTBr6tyvmxq4uxx2thoPu2hDka6euZtG_leaa4zs5d6QFuDtb0IrJ8LCr8swig6pX4KV4wjFMEfVo3JUZcic2kgUX05QhOpnoIOG6IZzE_t8oGtK4USGu9tK45YzxhhD_ce5CG4UuWKyeCBl7HNIkHmZhhQx1aW2E9WjajKNr2fhONfo04Nfm6jAM9pJU2KLorfShzI_QTcJZ0GOICzHln6VhTBHNNBBXGj7L7H7AQ/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" 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>
<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://secure-web.cisco.com/144wJ9PqeZERh-MgDDtF93WU9P1mkq_XgAq2hpkoO3ydxQ3-xdKLSm5vtJtKx2tbFWdAt3GmfBjLxHXeIPmaphG9eead6kEPmC8T-ZmYt0pLEo4iqoEiSrCWB2MgsekUYaH9VhwTMArdjZTMjBejiTpDrESQ7-NfsdKWY77Iopa0YHZFT1FfdbK-xUC9Z2DNelIPelCSHWJl0dXw3D-_sUgqFMhObnEl2_uAD42U8msu-5Um48htLbOUyC1tn2RUteL8LKWCIYyx_yYxHhl0KAQ/https%3A%2F%2Fmailman.bic.mni.mcgill.ca%2Fmailman%2Flistinfo%2Floris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>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://secure-web.cisco.com/1OSlhjjV74N3AA1H_KC8JOM2-Dytks19qSUt0wYfQRZJgDLpq6rl5UWl6M8ompG6KnWEVMcfjqbVY8ce0rCYefT1WAbs1Sk9Ik8Z8ulBZ6RrQKMIc0qMPE-1RJXBjy9wDcGr9DQXCALDTSEBFDCgtcY2QMuC5x-lKK2SgLOrjUWswv99UdtbxH06sH6Uy03f7tDGhWtPh9vl3O7tcb9YhlvqlT6tKqcUPeEMUPm0TzMEMZS_TufJzfBvP8dpKZbL-dkJVzuwqcQDhRFOqOEnDWA/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" 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.</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>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://secure-web.cisco.com/1zRMMGboUAP_JCY2URZuZcVQFT_ynOeNfv_HwQEIpMxlQwpxeQXEAw-PWL5z-0uZ30ve7unmqEqFI1httJ58XOlsoFFTP1DWkgAB5r0xvlPM5vhWUL2C2_tteMVGDPqmMydDYIJ3k88h_XGmVxIZcubrOTu-Kr-nyxmVOYHHvbxTlffvmRMt9opX5-isb26cHXVa5FmklOKCzBk3YW3rJ5vW6jpsroUnMBvgOlFOEtTy7I4fH2mBVVlt9-0dBImeB0KUci8npxx6Od1RIPJaPCA/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" 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.</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>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://secure-web.cisco.com/1RFBMw8pADpSiW1BWOrKmJB94tZod9ncS0idH5MGP6_OPu-q0DPO_caqLVtAAL2vl_5TxeVLtwMq_N9GbH4TZWXrJ5R4twq4fJqUsdabZD6B30V0zCN9RBaNgSsY7_7pcLCYCZ_b2QIgid68hrfYJ_QWUI_a37OEoeKcutNxZEzRTCYO2ObFOOXh5bM87eyq4jJLvroc1RC6C1MNlAmzaE2Obp0-HC3DR1q2tfc6aDuwb_Z5OHfeKXpCU0oFLdxhdDt-WjHUehMJdIp7KKMFlog/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline" 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.</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>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" 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.</div></div>
</blockquote></div>