So I am simply curious if it is possible to use an array as a parameter in a function? I have a function that I want to pass a 2-Dimensional array into as one of the parameters, but for some reason it will not let me set the parameter to an array. If I can't it's not a big deal as I can easily work around it by just having more parameters since the array would only have been a 2x2 anyway, it would just be a tiny bit easier if I could. Thanks for any help you can give and have a good one.
You cannot pass arrays as parameters in Gui or Galaxy Script.
You can use global arrays or more parameters like you did instead, or you can try Galaxy++, which supports array parameters.
Hey everyone,
So I am simply curious if it is possible to use an array as a parameter in a function? I have a function that I want to pass a 2-Dimensional array into as one of the parameters, but for some reason it will not let me set the parameter to an array. If I can't it's not a big deal as I can easily work around it by just having more parameters since the array would only have been a 2x2 anyway, it would just be a tiny bit easier if I could. Thanks for any help you can give and have a good one.
You cannot pass arrays as parameters in Gui or Galaxy Script.
You can use global arrays or more parameters like you did instead, or you can try Galaxy++, which supports array parameters.
Thanks Kueken.