Re: [galaxy-dev] using data_ref to refer to column names?

2012-09-04 Thread Dan Tenenbaum
So, sounds like maybe this feature does not existI'd like to
request it (given a dataset, I'd like to be able to show the column
headers of that dataset in a select box).
Thanks,
Dan


On Wed, Aug 29, 2012 at 11:09 AM, Dan Tenenbaum dtene...@fhcrc.org wrote:
 Hi,
 I have some code that makes a plot and creates a legend from a given
 column name in the user's input data, which may have arbitrary column
 names.

 I'd like to create a dropdown list that has all the column names in
 it, but I don't know the names beforehand; I won't know them until the
 user uploads their data file. So all I can do is have a freeform text
 box where I ask the user to type a column name, which seems
 error-prone and ugly.

 I notice that the XY plotting tool has something sort of like this,
 where it can tell how many columns are in your dataset and lets you
 choose them, but it calls the columns c1, c2, etc.
 My datasets have a header line with column names and I want to show
 the actual column name, not reference them by column number. Is this
 possible?

 Is there a solution to this? I have a number of use cases like this,
 so it would be great if there was.
 Thanks,
 Dan
___
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/


Re: [galaxy-dev] using data_ref to refer to column names?

2012-09-04 Thread Peter Cock
On Tue, Sep 4, 2012 at 4:54 PM, Dan Tenenbaum dtene...@fhcrc.org wrote:
 So, sounds like maybe this feature does not existI'd like to
 request it (given a dataset, I'd like to be able to show the column
 headers of that dataset in a select box).
 Thanks,
 Dan

No, it doesn't, but I'd like it too:
https://bitbucket.org/galaxy/galaxy-central/issue/554/show-column-names-headers-or-first-entry

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/


Re: [galaxy-dev] using data_ref to refer to column names?

2012-09-04 Thread Dan Tenenbaum
On Tue, Sep 4, 2012 at 4:57 PM, Peter Cock p.j.a.c...@googlemail.com wrote:
 On Tue, Sep 4, 2012 at 4:54 PM, Dan Tenenbaum dtene...@fhcrc.org wrote:
 So, sounds like maybe this feature does not existI'd like to
 request it (given a dataset, I'd like to be able to show the column
 headers of that dataset in a select box).
 Thanks,
 Dan

 No, it doesn't, but I'd like it too:
 https://bitbucket.org/galaxy/galaxy-central/issue/554/show-column-names-headers-or-first-entry

Thanks much.

Strong +1 from me.
Dan



 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/


[galaxy-dev] using data_ref to refer to column names?

2012-08-29 Thread Dan Tenenbaum
Hi,
I have some code that makes a plot and creates a legend from a given
column name in the user's input data, which may have arbitrary column
names.

I'd like to create a dropdown list that has all the column names in
it, but I don't know the names beforehand; I won't know them until the
user uploads their data file. So all I can do is have a freeform text
box where I ask the user to type a column name, which seems
error-prone and ugly.

I notice that the XY plotting tool has something sort of like this,
where it can tell how many columns are in your dataset and lets you
choose them, but it calls the columns c1, c2, etc.
My datasets have a header line with column names and I want to show
the actual column name, not reference them by column number. Is this
possible?

Is there a solution to this? I have a number of use cases like this,
so it would be great if there was.
Thanks,
Dan
___
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/