We're Hiring!

CLOSED: Add new Function in Gateway file

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

CLOSED: Add new Function in Gateway file

Postby magi » Thu Sep 24, 2009 12:06 pm

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
magi
 
Posts: 1
Joined: Thu Sep 17, 2009 6:16 am

Re: Add new Function in Gateway file

Postby atarkowska » Fri Sep 25, 2009 8:21 pm

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
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm


Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 1 guest