[Soaplab-users] How to use toggle properly ?
Brought to you by:
marsenger
From: Sebastien M. <Seb...@un...> - 2008-04-23 08:30:17
|
Hi, I have an option (string symbcons) in my application that must be used only if another option is chosen (boolean cons). toggle seems to be the right way to do this but its use is a little bit confusing for me. So, I have tried another way comment: "method -cons $symbcons" but it fails, only '-cons' appears in cmd line. How could I do this in soaplab2 ? Thanks Here is the ACD code: string: symbcons [ knowntype: "string" default: "B.*" minlength: 3 maxlength: 3 comment: "defaults" prompt: "Consensus symbols ?" information: "Consensus symbols for mismatches(B), similarity(.) and identical(*) (B means blank & must be used instead of blank !)" comment: 'method -&&=$"$"' ] boolean: cons [ default: "false" comment: "defaults" prompt: "Create consensus line ?" information: "Create consensus line" comment: "method -&& $symbcons" ] -- Sébastien Moretti SIB, Quartier Sorge - Genopode CH-1015 Lausanne, Switzerland Tel.: +41 (21) 692 4056/4221 |