Question: Conditional Statement In Compute Tool
0
Leontovich, Alexey A., Ph.D. • 30 wrote:
Hello!
I have the same question as Ido Tamir had about a year ago:
Dec 07, 2012; 9:53am [Ido Tamir] <http: user.list.galaxyproject.org="" t="" emplate="" namlservlet.jtp?macro="user_nodes&user=317241"> Ido Tamir<http: user.list.galaxyproject.org="" template="" namlservlet.jtp?macro="user_nodes" &user="317241"> conditional in Compute tool
Hi,
is it possible to do a conditional in the compute tool?
something like:
"a" if c1 == 4 else "b"
or
if c1 == 4 "a" else "b"
or
c1 == 4 ? "a" else "b"
thank you very much,
ido
Thank you very much,
Alex
ADD COMMENT
• link
•
modified 5.1 years ago
by
Jennifer Hillman Jackson ♦ 25k
•
written
5.1 years ago by
Leontovich, Alexey A., Ph.D. • 30