Closed tmspvn closed 3 years ago
It is present for me.
Maybe it's a windows-only bug?
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)
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.
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.
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.
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
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.
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?
That is the basic idea. Have a look at how it is implemented in what I sent you.
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?
-show-scene is not present in 1.5 and it but I couldn't find a reference in the changelog