Re: [galaxy-dev] displaying dataset paths in the UI

2011-10-26 Thread Hans-Rudolf Hotz

Hi Shantanu


Sorry, for replying so late (I am working down a pile of e-mails which 
accumulated during my holidays).


I have just implemented your suggested changes in our dev server. It is 
brilliant - Thank you very much!


I will do it for our production server within the next few days.

Regards, Hans


On 10/20/2011 08:19 PM, Shantanu Pavgi wrote:


I am trying to display dataset paths in the UI when user clicks on the 'view 
details' icon in the history panel. I was able to display it by adding 
'hda.file_name' field in the show_params.mako template file and it seems to be 
working. Following is a diff for it:

{{{
diff --git a/templates/show_params.mako b/templates/show_params.mako
index 9f7ad36..58d8108 100644
--- a/templates/show_params.mako
+++ b/templates/show_params.mako
@@ -50,6 +50,8 @@
  Dbkey:${hda.dbkey}
  Format:${hda.ext}
  Tool Version:${hda.tool_version}
+Dataset ID:${hda.dataset_id}
+Dataset Path:${hda.file_name}
  
  
  
}}}

It doesn't display any metadata files associated with the dataset. I guess it 
will need some more changes in the datasets controller to return metadata file 
paths to this template. But, are these right places to make changes for 
displaying dataset paths or are there any other files/modules that should be 
modified? Any comments or suggestions for implementing this will be really 
helpful.

--
Thanks,
Shantanu.

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


[galaxy-dev] displaying dataset paths in the UI

2011-10-20 Thread Shantanu Pavgi

I am trying to display dataset paths in the UI when user clicks on the 'view 
details' icon in the history panel. I was able to display it by adding 
'hda.file_name' field in the show_params.mako template file and it seems to be 
working. Following is a diff for it: 

{{{
diff --git a/templates/show_params.mako b/templates/show_params.mako
index 9f7ad36..58d8108 100644
--- a/templates/show_params.mako
+++ b/templates/show_params.mako
@@ -50,6 +50,8 @@
 Dbkey:${hda.dbkey}
 Format:${hda.ext}
 Tool Version:${hda.tool_version}
+Dataset ID:${hda.dataset_id}
+Dataset Path:${hda.file_name}
 
 
 
}}}

It doesn't display any metadata files associated with the dataset. I guess it 
will need some more changes in the datasets controller to return metadata file 
paths to this template. But, are these right places to make changes for 
displaying dataset paths or are there any other files/modules that should be 
modified? Any comments or suggestions for implementing this will be really 
helpful. 

--
Thanks,
Shantanu. 

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