Module OmeroPopo
source code
components/tools/OmeroPy/src/omero/util/OmeroPopo.py
-----------------------------------------------------------------------------
Copyright (C) 2006-2010 University of Dundee. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
------------------------------------------------------------------------------
@author Donald MacDonald
<a href="mailto:donald@lifesci.dundee.ac.uk">donald@lifesci.dundee.ac.uk</a>
@version 3.0
<small>
(<b>Internal version:</b> $Revision: $Date: $)
</small>
@since 3.0-Beta4.2
|
|
|
toList(csvString)
Convert a csv string to a list of strings @param csvString The CSV
string to convert. |
source code
|
|
|
shapeWrapper(serverSideShape)
Wrap the serverSide shape as the appropriate OmeroPopos @param
serverSideShape The shape object to wrap. |
source code
|
|
Imports:
math,
numpy,
omero,
RoiI,
EllipseI,
LineI,
RectI,
PointI,
LabelI,
PolylineI,
PolygonI,
PathI,
MaskI,
NamespaceI,
rdouble,
rstring,
rint,
rfloat
Convert a list to a Comma Separated Value string. @param list The list
to convert. @return See above.
|
Convert a csv string to a list of strings @param csvString The CSV
string to convert. @return See above.
|
Wrap the serverSide shape as the appropriate OmeroPopos @param
serverSideShape The shape object to wrap. @return See above.
|