Washington-University / workbench

Connectome Workbench
http://www.humanconnectome.org/software/get-connectome-workbench.html
GNU General Public License v2.0
187 stars 62 forks source link

wb_command -show-scene removed in 1.5? #51

Closed tmspvn closed 3 years ago

tmspvn commented 3 years ago

-show-scene is not present in 1.5 and it but I couldn't find a reference in the changelog

glasserm commented 3 years ago

It is present for me.

tmspvn commented 3 years ago

image

Maybe it's a windows-only bug?

johnvelab commented 3 years ago

Hello,

At this time, the “-show-scene” command is not available in the Windows version of wb_command. We hope to have it available in a future release of Workbench.

John Harwell

From: tmspvn @.> Reply-To: Washington-University/workbench @.> Date: Saturday, July 24, 2021 at 1:59 PM To: Washington-University/workbench @.> Cc: Subscribed @.> Subject: Re: [Washington-University/workbench] wb_command -show-scene removed in 1.5? (#51)

[image]https://user-images.githubusercontent.com/62169664/126878684-b8c9f5e0-a747-4fa7-a055-fb02f71f6c61.png

Maybe it's a windows-only bug?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Washington-University/workbench/issues/51#issuecomment-886097541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALSGXGRL3GOBWQCGGAO6PDTZMESPANCNFSM5A5TLKUQ.


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.

tmspvn commented 3 years ago

Hi, thanks to point that out.

Please consider including a wb_command to load an arbitrary surface, metrics and take a screenshot. Connectome workbench has superior rendering compared to other similar software for neuroimaging. It would be a more than great addition, I would say invaluable.

glasserm commented 3 years ago

In general we have found that it can be easiest to generate whatever scene you want and then add strings that you can replace with specific content for the file paths.

tmspvn commented 3 years ago

Could you please guide me through how to change surface and metric in a .scene file? I have try to do it but I failed. Thanks

glasserm commented 3 years ago

The scene stores things like file paths and names and map names. You would do a text search for any relevant file and map names and insert a unique string (e.g. instead of the subject's subjectID you would put SUBJECTID). Then you can use something like sed to programatically switch SUBJECTID for each subjects actual subjectID. For an example, see this scene file and script: https://github.com/Washington-University/HCPpipelines/blob/master/ICAFIX/PostFix.sh line 513 and here is the template scene: https://github.com/Washington-University/HCPpipelines/blob/master/ICAFIX/PostFixScenes/ICA_Classification_SingleScreenTemplate.scene.

tmspvn commented 3 years ago

So I just need to find and replace all file paths, file names and map names? Did I understood correctly? Would that work for totally different paths also or is there something else to care about?

glasserm commented 3 years ago

That is the basic idea. Have a look at how it is implemented in what I sent you.

tmspvn commented 3 years ago

Your suggestion worked flawlessly thanks!

Would you shortly explain the file structure of a .scene file? or send me a link where to look for i?