Re: [galaxy-dev] How to refresh the tool panel in Galaxy?

2012-12-26 Thread Huayan Gao
Thank you Alex and Ross. This is a totally new tool so there is not record
yet. So I guess it will not work without restarting the server.

Best,
Huayan


On Sat, Dec 15, 2012 at 1:36 AM, Oleksandr Moskalenko wrote:

> There's also a shortcut that avoids having to click through the menus
> every time. You can use a reload URL. For instance, if you were working
> with a local instance and developing the tool 'mytool'. You can open the
> following url, keep that page open and reload it when necessary to update
> the modified wrapper in the galaxy.
>
>
> http://localhost:8080/admin/reload_tool?reload_tool_button=Reload&tool_id=mytool
>
> Regards,
>
> Alex
>
> On Dec 12, 2012, at 9:21 PM, Ross  wrote:
>
> After making changes to the tool xml, you can refresh any tool using the
> admin menu
> Reload a tool's configuration
> option.
> This only works for tools loaded at startup and AFAIK there is currently
> no way to load a brand new tool after Galaxy has started other than via the
> toolshed installation option or a server restart.
> If you edit a wrapper (eg perl or python) script that is called by a tool
> xml, it loads afresh for every subsequent job - no need to do anything to
> the server.
>
> On Thu, Dec 13, 2012 at 12:10 PM, Huayan Gao  wrote:
>
>> Dear all,
>>
>> I just want to follow up with this question(see email below). I am afraid
>> that it is lost in the traffic.
>>
>> Thanks,
>> Huayan
>>
>>
>> On Fri, Dec 7, 2012 at 12:48 PM, Huayan Gao  wrote:
>>
>>> Hi,
>>>
>>> I am trying to add a tool into Galaxy. So far everything is ok except
>>> that I need to restart the server to make the tool showing up in the tool
>>> panel.
>>>
>>> So my question is that how to refresh the tool panel without restarting
>>> the server?
>>>
>>> After I install a tool from toolshed, I can see the tool immediately
>>> from the tool panel. This is exactly the function I want to implement in
>>> python. I was reading the code but too complicated. Could you point me the
>>> right place(code)?
>>>
>>> Thanks a lot.
>>>
>>> Best,
>>> Huayan
>>>
>>
>  ___
> 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] How to refresh the tool panel in Galaxy?

2012-12-14 Thread Oleksandr Moskalenko
There's also a shortcut that avoids having to click through the menus every 
time. You can use a reload URL. For instance, if you were working with a local 
instance and developing the tool 'mytool'. You can open the following url, keep 
that page open and reload it when necessary to update the modified wrapper in 
the galaxy.

http://localhost:8080/admin/reload_tool?reload_tool_button=Reload&tool_id=mytool

Regards,

Alex

On Dec 12, 2012, at 9:21 PM, Ross  wrote:

> After making changes to the tool xml, you can refresh any tool using the 
> admin menu 
> Reload a tool's configuration
> option.
> This only works for tools loaded at startup and AFAIK there is currently no 
> way to load a brand new tool after Galaxy has started other than via the 
> toolshed installation option or a server restart.
> If you edit a wrapper (eg perl or python) script that is called by a tool 
> xml, it loads afresh for every subsequent job - no need to do anything to the 
> server.
> 
> On Thu, Dec 13, 2012 at 12:10 PM, Huayan Gao  wrote:
> Dear all, 
> 
> I just want to follow up with this question(see email below). I am afraid 
> that it is lost in the traffic. 
> 
> Thanks, 
> Huayan
> 
> 
> On Fri, Dec 7, 2012 at 12:48 PM, Huayan Gao  wrote:
> Hi,
> 
> I am trying to add a tool into Galaxy. So far everything is ok except that I 
> need to restart the server to make the tool showing up in the tool panel. 
> 
> So my question is that how to refresh the tool panel without restarting the 
> server? 
> 
> After I install a tool from toolshed, I can see the tool immediately from the 
> tool panel. This is exactly the function I want to implement in python. I was 
> reading the code but too complicated. Could you point me the right 
> place(code)? 
> 
> Thanks a lot. 
> 
> Best,
> Huayan 
> 
> ___
> 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] How to refresh the tool panel in Galaxy?

2012-12-12 Thread Ross
After making changes to the tool xml, you can refresh any tool using the
admin menu
Reload a tool's configuration
option.
This only works for tools loaded at startup and AFAIK there is currently no
way to load a brand new tool after Galaxy has started other than via the
toolshed installation option or a server restart.
If you edit a wrapper (eg perl or python) script that is called by a tool
xml, it loads afresh for every subsequent job - no need to do anything to
the server.

On Thu, Dec 13, 2012 at 12:10 PM, Huayan Gao  wrote:

> Dear all,
>
> I just want to follow up with this question(see email below). I am afraid
> that it is lost in the traffic.
>
> Thanks,
> Huayan
>
>
> On Fri, Dec 7, 2012 at 12:48 PM, Huayan Gao  wrote:
>
>> Hi,
>>
>> I am trying to add a tool into Galaxy. So far everything is ok except
>> that I need to restart the server to make the tool showing up in the tool
>> panel.
>>
>> So my question is that how to refresh the tool panel without restarting
>> the server?
>>
>> After I install a tool from toolshed, I can see the tool immediately from
>> the tool panel. This is exactly the function I want to implement in python.
>> I was reading the code but too complicated. Could you point me the right
>> place(code)?
>>
>> Thanks a lot.
>>
>> Best,
>> Huayan
>>
>
___
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] How to refresh the tool panel in Galaxy?

2012-12-12 Thread Huayan Gao
Dear all,

I just want to follow up with this question(see email below). I am afraid
that it is lost in the traffic.

Thanks,
Huayan


On Fri, Dec 7, 2012 at 12:48 PM, Huayan Gao  wrote:

> Hi,
>
> I am trying to add a tool into Galaxy. So far everything is ok except that
> I need to restart the server to make the tool showing up in the tool panel.
>
> So my question is that how to refresh the tool panel without restarting
> the server?
>
> After I install a tool from toolshed, I can see the tool immediately from
> the tool panel. This is exactly the function I want to implement in python.
> I was reading the code but too complicated. Could you point me the right
> place(code)?
>
> Thanks a lot.
>
> Best,
> Huayan
>
___
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] How to refresh the tool panel in Galaxy?

2012-12-06 Thread Huayan Gao
Hi,

I am trying to add a tool into Galaxy. So far everything is ok except that
I need to restart the server to make the tool showing up in the tool panel.

So my question is that how to refresh the tool panel without restarting the
server?

After I install a tool from toolshed, I can see the tool immediately from
the tool panel. This is exactly the function I want to implement in python.
I was reading the code but too complicated. Could you point me the right
place(code)?

Thanks a lot.

Best,
Huayan
___
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/