[HCP-Users] about the wb_command -volume-to-surface-mapping

2017-05-02 Thread ??
Dear professors
I want to map the AAL template to the surface file so that it can be displayed 
by connectome workbench??and I saw that you used this command in the pipelines 
hemisphere by hemisphere. But when I  entry 'wb_command 
-volume-to-surface-mapping  aal.nii
100307.L.BA.32k_fs_LR.label.gii
-enclosing'
it reminds me that 
'ERROR: Number of data arrays MUST be two in a SurfaceFile.
File: 100307.L.BA.32k_fs_LR.label.gii'
Can you please tell me what the mistake is and what is your suggestion?
Thanks very much!
___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users
Spam detection software, running on the system "mailman02.nrg.mir", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  Dear professors I want to map the AAL template to the surface
   file so that it can be displayed by connectome workbench£¬and I saw that
  you used this command in the pipelines hemisphere by hemisphere. But when
  I entry 'wb_command -volume-to-surface-mapping aal.nii 
100307.L.BA.32k_fs_LR.label.gii
   -enclosing' it reminds me that 'ERROR: Number of data arrays MUST be two
  in a SurfaceFile. File: 100307.L.BA.32k_fs_LR.label.gii' Can you please tell
   me what the mistake is and what is your suggestion? Thanks very much! [...]
   

Content analysis details:   (6.0 points, 5.0 required)

 pts rule name  description
 -- --
 2.8 FROM_STARTS_WITH_NUMS  From: starts with many numbers
 3.2 CHARSET_FARAWAY_HEADER A foreign language charset used in headers
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid


Spam detection software, running on the system "mailman02.nrg.mir", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  Dear professors I want to map the AAL template to the surface
   file so that it can be displayed by connectome workbench£¬and I saw that
  you used this command in the pipelines hemisphere by hemisphere. But when
  I entry 'wb_command -volume-to-surface-mapping aal.nii 
100307.L.BA.32k_fs_LR.label.gii
   -enclosing' it reminds me that 'ERROR: Number of data arrays MUST be two
  in a SurfaceFile. File: 100307.L.BA.32k_fs_LR.label.gii' Can you please tell
   me what the mistake is and what is your suggestion? Thanks very much! [...]
   

Content analysis details:   (6.0 points, 5.0 required)

 pts rule name  description
 -- --
 2.8 FROM_STARTS_WITH_NUMS  From: starts with many numbers
 3.2 CHARSET_FARAWAY_HEADER A foreign language charset used in headers
 0.0 HTML_MESSAGE   BODY: HTML included in message




Re: [HCP-Users] removing cross-hairs, slice labels when using wb_command -show-scene?

2017-05-02 Thread Keith Jamison
Thanks!

It might be useful to have some kind of preference override ability in
scene files for situations like this.

-Keith


On Tue, May 2, 2017 at 5:27 AM, Harwell, John  wrote:

> Hi Keith,
>
> The settings for volume cross-hairs and slice labels are only in the
> preferences file; they are not in the scene file.
>
> Both wb_view and wb_command use the same preferences so as long as you are
> on the same computer and do not change the status of crosshairs/labels,
> their appearance should be consistent.
>
> We use QSettings (look for Platform-Specifici Notes in
> http://doc.qt.io/qt-5/qsettings.html) for the wb_view/wb_command
> preferences and the location and format of the preferences are system
> dependent.  The location and name of the preferences file will vary,
> depending upon the system.  On Mac, the name is 
> ~/Library/Preferences/edu.wustl.brainvis.Caret7.plist.
> On our Ubuntu Linux, I found the preferences in ~/.config/
> brainvis.wustl.edu/Caret7.conf.
>
> John Harwell
>
> On May 2, 2017, at 8:58 AM, Keith Jamison  wrote:
>
> I'm trying to save some images using wb_command -show-scene, and I can't
> figure out how to change settings for things like cross-hairs or slice
> labels.  I know I can change these in the wb_view Preferences window in the
> Volume tab, but I'm hoping to script the whole process and get consistent
> results.  So...
>
> 1. Is there a parameter in the .scene file to control these kind of
> display settings?
> 2. Where are the wb_view preferences stored?  Though not ideal, I guess my
> script could modify the preferences file before running wb_command
> -show-scene
>
> Thanks!
> Keith
>
> ___
> 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
>

___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users


Re: [HCP-Users] removing cross-hairs, slice labels when using wb_command -show-scene?

2017-05-02 Thread Harwell, John
Hi Keith,

The settings for volume cross-hairs and slice labels are only in the 
preferences file; they are not in the scene file.

Both wb_view and wb_command use the same preferences so as long as you are on 
the same computer and do not change the status of crosshairs/labels, their 
appearance should be consistent.

We use QSettings (look for Platform-Specifici Notes in 
http://doc.qt.io/qt-5/qsettings.html) for the wb_view/wb_command preferences 
and the location and format of the preferences are system dependent.  The 
location and name of the preferences file will vary, depending upon the system. 
 On Mac, the name is ~/Library/Preferences/edu.wustl.brainvis.Caret7.plist.  On 
our Ubuntu Linux, I found the preferences in 
~/.config/brainvis.wustl.edu/Caret7.conf.

John Harwell

On May 2, 2017, at 8:58 AM, Keith Jamison 
> wrote:

I'm trying to save some images using wb_command -show-scene, and I can't figure 
out how to change settings for things like cross-hairs or slice labels.  I know 
I can change these in the wb_view Preferences window in the Volume tab, but I'm 
hoping to script the whole process and get consistent results.  So...

1. Is there a parameter in the .scene file to control these kind of display 
settings?
2. Where are the wb_view preferences stored?  Though not ideal, I guess my 
script could modify the preferences file before running wb_command -show-scene

Thanks!
Keith

___
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


[HCP-Users] removing cross-hairs, slice labels when using wb_command -show-scene?

2017-05-02 Thread Keith Jamison
I'm trying to save some images using wb_command -show-scene, and I can't
figure out how to change settings for things like cross-hairs or slice
labels.  I know I can change these in the wb_view Preferences window in the
Volume tab, but I'm hoping to script the whole process and get consistent
results.  So...

1. Is there a parameter in the .scene file to control these kind of display
settings?
2. Where are the wb_view preferences stored?  Though not ideal, I guess my
script could modify the preferences file before running wb_command
-show-scene

Thanks!
Keith

___
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users