HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> ChoiceList multiple selection http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1329868754 Message started by Dan Fulop on Feb 21st, 2012 at 3:59pm |
Title: ChoiceList multiple selection Post by Dan Fulop on Feb 21st, 2012 at 3:59pm
Hi,
I'm writing a wrapper for a .bf with an associative array to pass options to the analysis. One of the .bf's options has multiple selections, i.e. I need to select 3 branches. However, I've tried several different ways of inputing the option into the assoc. array in the wrapper and all have failed; I started with this "literal" version: "1\n6\n\7\nd\n ...which is what I would type in on the command prompt. Please help me input this multiple selection into the assoc. array. Thanks!! Dan. |
Title: Re: ChoiceList multiple selection Post by Sergei on Feb 21st, 2012 at 4:18pm
Hi Dan,
To select two options do this, for example Code (] ... options["05"):
The trick is to list each option on the individual line and indicate that you are done by the empty string. Sergei |
Title: Re: ChoiceList multiple selection Post by Dan Fulop on Feb 21st, 2012 at 4:38pm
Thanks, Sergei!
One of my tries was like that, but with "d" as the last options as that's what I'd input in the command prompt. |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |