<div dir="ltr"><div>Hi Ioannis,</div><div><br></div><div>1) The Image Uploader's Visit labels are those already existed, populated from session table. While <visitLabel> session is used to create a visitLabel which you could use to generate a timepoints, then the visitLabel might be visible in image uploader.</div><div>2). The mri_protocol min, max specifications are not used to identify the violations, the violations could be flag only if the protocol is unknown.<br></div><div><br></div><div>Best regards,</div><div>Ling Ma</div><div>Dev consultant<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 19, 2020 at 10:41 PM Ioannis Pappas <<a href="mailto:ioannis@berkeley.edu">ioannis@berkeley.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 dir="ltr"><div>Hi Loris support.</div><div>I hope you are well. I m using Loris version 21.0.1. I have two questions if you allow me. 1) First I am trying to manually define my visit labels like this in project/config.xml</div><div><br></div><visitLabel subprojectID="1"><br>            <generation>sequence</generation><br>            <regex>/^[A-Z0-9]{2}$/i</regex><br>            <length>2</length><br>            <suggest>V%value%</suggest><br>            <labelSet><br>                <item value="V1">V01</item><br>                <item value="V2">V02</item><br>                <item value="V3">V03</item><br>            </labelSet><br></visitLabel><br><div><br></div><div>which is very similar to the one you provide in the documentation</div><div><br></div><div>  <visitLabel subprojectID="1"><br>      <generation>sequence</generation> <br>      <regex>/^[A-Z0-9]{2}$/i</regex><br>      <length>2</length><br>      <suggest>V%value%</suggest>       <!--  %value% will be substituted for the next unique number  --><br>      <labelSet><br>          <item value="V1">V1 label description</item>   <br>          <item value="V2">V2 label description</tem>   <br>      </labelSet><br>   </visitLabel><br></div><div><br></div><div>However when I am trying to experiment and upload a scan (e.g. via the Imaging Uploader gui) the values don't show up in the dropdown box for the visit labels. Am I doing something foolish and wrong?</div><div><br></div><div>2) From my understanding the uploaded scans will be automatically identified (in terms of whether this is t1,t2,or flair for example) via the min and max specifications in the mri_protocol table (that is further connected to the mri_scan_type table). Is this correct? Subsequently any violations will be defined based on these bounds. </div><div><br></div><div>Best wishes,</div><div>Ioannis</div></div>
_______________________________________________<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>