set optional to the appropriate value depending on value of galaxyItem@required.


git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/RGalaxy@88402 bc3139a8-67e5-0310-9ffc-ced21a209358