It works really fine! I suspected something akin to that but I couldn't
find the right attributes.

But I still have a question: It comprises the datasets stored in
libraries right? Is there a way to ignore them?

Thanks again,
L-A
Greg Von Kuster wrote:

Hello Louise,

I've pasted a diff below for the file
~/lib/galaxy/web/controller/admin.py that will provide what you want,
I believe. I didn't have time to fully test, but it gives you the
idea. You can make things prettier by wrapping the returned value
in galaxy.datatypes.data.nice_size

I would like to add a column in the admin panel's user list with the
sum of the file size of every dataset in each user's histories that
don't belong to any ibrary.

Is there a way to do that?

I had a look at lib/galaxy/web/controller/admin.py and
templates/grid_base.mako but I fail to see where the "query" variable
(containing the items, therefore the users) come from in the mako
template, so I didn't figure out what each column class in admin.py
actually manipulates in the get_value() methods.

Regards,
L-A
___________________________________________________________
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/