Closed vzeng97 closed 3 years ago
I was wondering how it would recognize the address of 3TB6371 for example?
You provide just one block:
ABC = {
'caseid_placeholder': '3TB6312',
'dwi': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPDTI_jones30_b1000_SPIRweakSENSE_15.nrrd',
't1': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPMPRAGE2100-MPRinto_4.nrrd'
}
Then, as long as your case ids in caselist consist of equal number of characters as of 3TB6312
, the pipeline will obtain the location of the other ids magically!
Wow... ummm I'll assume it does that although its not consistently named "_WIPDTI_jones30_b1000_SPIRweakSENSE_15.nrrd"
Aha ... now I see your confusion. First of all, your assumption is right.
See my example, the program would substitute 3TB6312
, wherever that occurs, with each line of the caselist.
I understand now. I'll just rename the dti/t1 files so that it can be replaced with the new id automatically for pnlpipe
Hi Tashrif, this is a continuation of the email chain we had, where I would like clarification on adding more than one subject:
Previously for pnlpipe I put something like:
ABC = { 'caseid_placeholder': '3TB6312','3TB6371', 'dwi': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPDTI_jones30_b1000_SPIRweakSENSE_15.nrrd', '/users/vzeng/smu_transfer/3TB6371/3TB6371_WIPDTI_jones30_b1000_SPIRweakSENSE_16.nrrd', 't1': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPMPRAGE2100-MPRinto_4.nrrd', '/users/vzeng/smu_transfer3TB6371/3TB6371_WIPMPRAGE2100-MPRinto_4.nrrd' } INPUT_KEYS = ABC
and that crashed, so you specified putting:
ABC = { 'caseid_placeholder': '3TB6312', 'dwi': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPDTI_jones30_b1000_SPIRweakSENSE_15.nrrd', 't1': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPMPRAGE2100-MPRinto_4.nrrd' }
and I was wondering how it would recognize the address of 3TB6371 for example?
Should I have it like this?:
ABC1 = { 'caseid_placeholder': '3TB6312', 'dwi': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPDTI_jones30_b1000_SPIRweakSENSE_15.nrrd', 't1': '/users/vzeng/smu_transfer/3TB6312/3TB6312_WIPMPRAGE2100-MPRinto_4.nrrd' } ABC2 = { 'caseid_placeholder': '3TB6371', 'dwi': '/users/vzeng/smu_transfer/3TB6371/3TB6371_WIPDTI_jones30_b1000_SPIRweakSENSE_16.nrrd', 't1': '/users/vzeng/smu_transfer/3TB6371/3TB6371_WIPMPRAGE2100-MPRinto_4.nrrd' }