Re: [HCP-Users] Label Import with -discard-others

2016-09-29 Thread Timothy Coalson
That is the same bug, fixed in v1.2.3. If you can't update for some reason, using both -discard-others and -drop-unused-labels should result in better behavior (the bug was that it tested the wrong one of these switches in one part of the code, so if they are both true, it behaves better). Tim

Re: [HCP-Users] Label Import with -discard-others

2016-09-27 Thread Raquel Viejo Sobera
Hi, This also happened to me using -cifti-label-import with discard others, the resulting file is not empty, it contains the 0s and 1s in the right place, but it doesn't contain the information about the names and colors from the text file. To fix this I rerun the same command using the output fro

Re: [HCP-Users] Label Import with -discard-others

2016-09-27 Thread Timothy Coalson
That is supposed to work the way you expected it to. Are you using workbench version 1.2.3? If you can point me to that dlabel file (perhaps off-list), I'll check if there is a bug that needs fixing. Tim On Tue, Sep 27, 2016 at 1:19 PM, Michael F.W. Dreyfuss < mid2...@med.cornell.edu> wrote:

Re: [HCP-Users] Label Import with -discard-others

2016-09-27 Thread Timothy Coalson
For that, you want -cifti-separate, splitting into hemispheres (resulting in left and right label.gii files in this case) is exactly what it does. See my response in the other thread for pulling individual areas out of a parcellation and combining their ROIs. Tim On Tue, Sep 27, 2016 at 2:44 PM,

Re: [HCP-Users] Label Import with -discard-others

2016-09-27 Thread Michael F.W. Dreyfuss
In a related question, if I want to treat hemispheres separately, how can I create a simple hemispheric label file, or split a file like Human.Brodmann09.32k_fs_LR.dlabel.nii into two hemispheres to treat the Brodmann areas of each area separately? Essentially, all of my questions are directed

[HCP-Users] Label Import with -discard-others

2016-09-27 Thread Michael F.W. Dreyfuss
Hello, I have been trying to make a file containing the parcellations for BA44 and BA45 using the Broadmann using the following command: wb_command -cifti-label-import Human.Brodmann09.32k_fs_LR.dlabel.nii BrodmannLabels.txt Brodmann_IFG.dlabel.nii -discard-others Where BrodmannLabels.txt con