Page 1 of 1

CLOSED: Add new Function in Gateway file

PostPosted: Thu Sep 24, 2009 12:06 pm
by magi
Hi,
i am working on omero webadmin as per my requirement i need to add data to database. i found that gateway file is the point of dataconnection when i tried to create a new function renaming the existing one i found an exception that the attribute is not found in the gateway .

as this is the way or what is the threads.thread class where the function should be defined , if so where the threads module exists how to find it.
can u please tell how the data connection is taking place in webadmin

thanks
magi

Re: Add new Function in Gateway file

PostPosted: Fri Sep 25, 2009 8:21 pm
by atarkowska
I would suggest you not to change any line of code in the OMERO sources. Python is entirely object oriented and using classes is made relatively simple. Inheritance really makes sense and saves you a lot of time and extra code writing.

More details how to pull data from the OMERO.server you can find on http://trac.openmicroscopy.org.uk/omero ... nts?onlypy