For cifti files, you need to use -cifti-* commands, so you want to use -cifti-label-import instead. Most wb_command operations require a very specific file format for input.
You can run it without a label-list-file (as the help info says, use a pair of quotes instead of a filename: ""), which will give you random colors and names like "LABEL_1". You only need a label-list-file if you know what colors and names you want the labels to have. The "parse error" message is just what happens when you try to load some file that isn't a GIFTI file as if it were a GIFTI file (metric, label, surface). We can probably change this message to be more intuitive. Tim On Sat, Dec 9, 2017 at 8:40 PM, A Nunes <adonay.s.nu...@gmail.com> wrote: > Hi > > I want to create a .dlabel from a .dscalar in which I have a label value > for every vertex. I want to use: > > wb_command -metric-label-import > <input> - the input metric file > <label-list-file> - text file containing the values and names for > labels > <output> output file > > However, I don't have a label-list-file. > > I want to get it from another dlabel file, but I can't manage to do it. I > have tried: > -label-export-table, but I get the error: > > ERROR: Parse error while reading: error occurred while parsing element, > line number: 1 column number: 1 > > Then I tried to split the cifti into a gifti: > > -cifti-separate and then -label-export-table with the separate output but > I get the same error. > > Any ideas on how to get the label values and colors text file? > > Thanks > Adonay > > _______________________________________________ > HCP-Users mailing list > HCP-Users@humanconnectome.org > http://lists.humanconnectome.org/mailman/listinfo/hcp-users > _______________________________________________ HCP-Users mailing list HCP-Users@humanconnectome.org http://lists.humanconnectome.org/mailman/listinfo/hcp-users