Human Connectome Mac Installation

456 views
Skip to first unread message

julia.d...@web.de

unread,
Jun 13, 2022, 9:47:27 AM6/13/22
to hcp-...@humanconnectome.org
Dear Sir or Madam,
 
is there a step-by-step tutorial on how to install the Connectome Workbench v1.5.0 on a MacBook? Unfortunately it did not work on my laptop, although it fulfills all the requirements mentioned on the website.
 
Thank you in advance!
 
Kind regards,
 
Julia Dzimiera

Harwell, John

unread,
Jun 13, 2022, 11:35:24 AM6/13/22
to hcp-...@humanconnectome.org

Hi Julia,

 

What is the error that you are encountering?  Does Workbench crash or do you get a MacOS security message?

 

These are the instructions contained in the readme file in the workbench directory (after unzipping the downloaded file):

 

MAC OS X

 

Unzip the workbench-mac64-v<whatever>.zip file, preserving all subfolders, wherever you want it to be on your filesystem.  If you don't have administrative privileges on the computer, you can unzip it into your home directory.  The rest of this section will assume it was unzipped to /Applications/workbench.

 

To run wb_view and wb_command from a terminal window, your PATH environment variable must be updated.  Open a new terminal window and change into your home directory.  If you do not know which "shell" you are running, it may be (not always) found by running the command 'printenv SHELL'.

 

To set the PATH in Bash shell, enter this command in a terminal window:

 echo 'export PATH="$PATH:/Applications/workbench/bin_macosx64"' >> ~/.bash_profile

 

To set the PATH in tcsh/csh shell, enter this command in a terminal window:

 echo 'set PATH = ($PATH /Applications/workbench/bin_macosx64)' >> ~/.cshrc

 

Alternatively, users may edit their .bash_profile, .bashrc or .cshrc file in a text editor to update the PATH.

 

These edits will only affect the PATH in a newly created terminal window.  Users familiar with the "source" command may use it to update PATH in the open terminal window.

 

You may also run wb_view using the Finder Window.  Double click the wb_view application in the directory /Applications/workbench/macosx64_apps.  You can also drag the wb_view icon to the Dock.

 

OPTIONAL: If you are running a newer version of bash than OS X ordinarily provides, see "BASH COMPLETIONS" below for an optional step that makes it more convenient to use wb_command in bash.

 

 

John Harwell

 

From: "julia.d...@web.de" <julia.d...@web.de>
Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Monday, June 13, 2022 at 8:48 AM
To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Subject: [hcp-users] Human Connectome Mac Installation

 

* External Email - Caution *

--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/trinity-64ec679c-e083-49b7-a396-ee06452e5416-1655127728285%403c-app-webde-bs60.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Christina Roßmanith

unread,
Jun 24, 2022, 10:29:15 AM6/24/22
to HCP-Users, jhar...@wustl.edu
I'm a colleague of Julia with some linux knowledge but with close to zero macos knowledge. We copied wb_view.app to /Applications - now wb_view can be started via Finder and spec files are displayed with the application icon. Can we even improve the user experience that not only wb_view starts when clicking on a spec file but that the spec file will be loaded automatically?

Regards,
Christina

Harwell, John

unread,
Jun 24, 2022, 10:39:15 AM6/24/22
to hcp-...@humanconnectome.org

Double-clicking the spec file icon should open the spec file in the spec file dialog and then you can click the load button to load all of the files.  The ability to double-click the spec file icon and load all of data files without the spec file dialog does not exist.

 

If you run wb_view from the command line (terminal window), you can load all of the data files without seeing the spec file dialog.  “wb_view  -spec-load-all  <path-to-spec-file>”.

 

John Harwell

Rossmanith, Christina

unread,
Jun 24, 2022, 11:13:48 AM6/24/22
to hcp-...@humanconnectome.org, julia.d...@web.de

On Julia's computer only the general workbench window appears (see screenshot below), then she has to navigate to the spec file to open it and finally click "load" to load it. That is slightly less than what you describe. But why? We didn't restart after copying the .apps-Folder to /Applications. Could a reboot alter the behaviour?


She would like to have a solution without using the command line...




Regards,

Christina




Von: Harwell, John <jhar...@wustl.edu>
Gesendet: Freitag, 24. Juni 2022 16:39
An: hcp-...@humanconnectome.org
Betreff: Re: [hcp-users] Human Connectome Mac Installation
 

Harwell, John

unread,
Jun 24, 2022, 12:07:46 PM6/24/22
to hcp-...@humanconnectome.org

The Mac may not be configured to open a spec file with wb_view.

 

Using Finder,

  • Hold down the “control” key and click the mouse over a spec file to display a menu
  • In the menu, click “Get Info”
  • In the Dialog that opens, look for “Open with:”
  • Below “Open with:”, there should be a menu or box you can click; in it, choose “Other…”
  • A file selection dialog should open in Applications, find “wb_view”, click “wb_view”, and press the “Open” button.  This will probably launch wb_view with the spec file dialog
  • In the Get Info dialog below “Open with:”, there should also be an option “Use this application to open all documents like this one”.  Enable this option.
  • After this, double-clicking a spec file should launch wb_view with the spec file dialog displayed.

 

John Harwell

 

 

Reply all
Reply to author
Forward
0 new messages