Re: [galaxy-dev] Refreshing/Reloading Files

2011-06-30 Thread Hans-Rudolf Hotz

Hi Paul

Please keep all replies on the list by using "reply all"


A simple solution, which we use quite a lot, is the following:


we use the "dynamic_options" attribute, eg:



 

  
  


  
  
   
   

 


and then we have a little python script ("extra_code_for_foo_list.py") 
with the "ds_fooOptions" function, which can read your file (ie your 
list of databases), eg



def ds_fooOptions():
"""List available foos as tuples of (displayName,value)"""
foos = 
return foos



I hope this helps, Hans



On 06/29/2011 08:09 PM, Admins de Galaxy wrote:

Hi Hans,

yes that's it. We are offering the list of databases as options to select in
the GUI,
  before executing the script which compares the selected database with the
sequence.

Paul

2011/6/29 Hans-Rudolf Hotz


Hi Paul

You probably need to be a bit more specific...at what stage is this '.txt
file' read (or rather should be read)? - are you offering the (growing) list
of databases as options to select in the GUI?

Hans



On 06/29/2011 10:20 AM, Admins de Galaxy wrote:


Hello everyone,
we have a problem with one of our selfwritten tools.
We have a tool, that compares sequence with a database.
The List of the available databases is  loaded from a .txt file.

One of our other tools, manages that a new database is
added to the .txt file. But Galaxy doesn't recognize the change.

It would be nice if someone could give us an advice.

Best regards

Paul K. Deuster
@ Technische Hochschule Mittelhessen




__**_
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/






___
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] Refreshing/Reloading Files

2011-06-29 Thread Hans-Rudolf Hotz

Hi Paul

You probably need to be a bit more specific...at what stage is this 
'.txt file' read (or rather should be read)? - are you offering the 
(growing) list of databases as options to select in the GUI?


Hans


On 06/29/2011 10:20 AM, Admins de Galaxy wrote:

Hello everyone,
we have a problem with one of our selfwritten tools.
We have a tool, that compares sequence with a database.
The List of the available databases is  loaded from a .txt file.

One of our other tools, manages that a new database is
added to the .txt file. But Galaxy doesn't recognize the change.

It would be nice if someone could give us an advice.

Best regards

Paul K. Deuster
@ Technische Hochschule Mittelhessen




___
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/

___
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] Refreshing/Reloading Files

2011-06-29 Thread Bossers, Alex
Paul,

as far as I know the config files (probably loc files) are only refreshed on 
galaxy_instance restart unfortunatly.
So when this is possible to do on the fly I am interested as well.

Alex



Van: galaxy-dev-boun...@lists.bx.psu.edu [galaxy-dev-boun...@lists.bx.psu.edu] 
namens Admins de Galaxy [galaxy.at.thm@googlemail.com]
Verzonden: woensdag 29 juni 2011 10:20
Aan: galaxy-...@bx.psu.edu
Onderwerp: [galaxy-dev] Refreshing/Reloading Files

Hello everyone,
we have a problem with one of our selfwritten tools.
We have a tool, that compares sequence with a database.
The List of the available databases is  loaded from a .txt file.

One of our other tools, manages that a new database is
added to the .txt file. But Galaxy doesn't recognize the change.

It would be nice if someone could give us an advice.

Best regards

Paul K. Deuster
@ Technische Hochschule Mittelhessen


___
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/