Hey Peter, I opened a pull request to allow the use of the value attribute and to allow column numbers to be prefixed by c. I cannot see any problem with either change and I have added some unit tests. Hopefully, this makes things more intuitive. https://bitbucket.org/galaxy/galaxy-central/pull-request/389/small-column-pa... Thanks, -John On Mon, May 12, 2014 at 6:17 AM, Peter Cock <p.j.a.cock@googlemail.com> wrote:
On Fri, Apr 1, 2011 at 4:10 PM, Peter Cock <p.j.a.cock@googlemail.com> wrote:
On Fri, Apr 1, 2011 at 3:55 PM, Kanwei Li <kanwei@gmail.com> wrote:
Hi Peter,
I don't see your attempt to use default in the example given. A bit more detail?
-K
Hi Kanwei,
My example tool is now here: https://bitbucket.org/peterjc/galaxy-central/changeset/198bf927ca30
As per the original email, I have three parameters which are column numbers, and I want the defaults to be columns 1, 2 and 12. However, on my Galaxy installation they all default to the first column.
I have tried giving the default values as 1, 2, and 12, and also as c1, c2 and c12 - neither works: https://bitbucket.org/peterjc/galaxy-central/changeset/374143be8e45
If you need more information, let me know.
Thanks,
Peter
P.S. Bug filed here: https://bitbucket.org/galaxy/galaxy-central/issue/507/
Trello migrated issue (where I have also commented): https://trello.com/c/6ugfcLgI/435-507-default-value-for-data-column-not-work...
Partly solved, rather than looking at the value tag it seems to look at the default_value tag instead. I consider this a bug (a needless difference from the other parameter types), but out of backward compatibility (e.g. the boxplot tool) suggest this accept either tag name? Would a patch doing that be acceptable?
Furthermore, regardless of the numerical setting, the defaults must not include the leading c (e.g. 2 rather than c2), see: https://github.com/peterjc/galaxy_blast/commit/eb9a26b21bf55266184cf00cfe692...
Regards,
Peter ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/