<div dir="ltr"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Timothy Hendrickson<br></div>Department of Psychiatry<br></div><div>University of Minnesota<br>Bioinformatics and Computational Biology M.S. Candidate<br></div><div>Office: 612-624-6441<br></div>Mobile: 507-259-3434 (texts okay)<br></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Timothy Hendrickson</b> <span dir="ltr"><<a href="mailto:hendr522@umn.edu">hendr522@umn.edu</a>></span><br>Date: Wed, Dec 20, 2017 at 5:17 PM<br>Subject: Reduce Control for Data Input Interfaces<br>To: <a href="mailto:nipy-devel@neuroimaging.scipy.org">nipy-devel@neuroimaging.scipy.org</a><br><br><br><div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I have some data that I am attempting to run the HCP pipeline through. <br>Since my data does not conform to the BIDS data directory format I have to run a modified version of the hcpre python package. Requirements for input into the HCP pipeline shell scripts are individual strings such as base directory, and subject number. Obviously I have had a hell of a time trying to find a data input interface which allows this functionality, since everyone that I have looked at (SelectFiles, DataGrabber) automatically build the entire path to the subject's directory.<br><br></div>I suppose my inquiries are two-fold. <br><br></div>1) Is there an elegant way to split up output from the input interfaces so I can have just the base directory or just the subject number?<br></div>2) Is there a way in which I can verify that a particular subject (or file) exists within a base directory, but drop the base directory string leaving only the file name or subject number?<br><br></div>Thanks!<br><br></div>-Tim<span class="HOEnZb"><font color="#888888"><br><div><div><div><div><div><div><br clear="all"><div><div><div><div class="m_-5414706187056757698gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Timothy Hendrickson<br></div>Department of Psychiatry<br></div><div>University of Minnesota<br>Bioinformatics and Computational Biology M.S. Candidate<br></div><div>Office: <a href="tel:(612)%20624-6441" value="+16126246441" target="_blank">612-624-6441</a><br></div>Mobile: <a href="tel:(507)%20259-3434" value="+15072593434" target="_blank">507-259-3434</a> (texts okay)<br></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></font></span></div>
</div><br></div>