Save H5 table on OMERO server (without attaching to anything
Posted: Mon Nov 21, 2011 6:34 pm
Hi,
I'd like to save a H5 table on OMERO server.
my code for the table is...
what I know for a way to save a file onto OMERO server (without attaching it to anything) is
but this method looks like saving a local file ('DB') to OMERO server (instead of OMERO.table object).
1.
Can anyone please tell me how to save an OMERO.table object on OMERO server? (I'm using 4.2.x now and will migrate to 4.3.x soon)
And this table should be able to be retrieved by any OMERO account.
2.
In order to retrieve the saved table, I'd like to use a query by table name and mimetype.
Is this a right way?
Thanks in advance,
BK
I'd like to save a H5 table on OMERO server.
my code for the table is...
- Code: Select all
columns = []
columns.append(omero.grid.LongColumn( 'pixels', 'Pixel Index', [] ))
columns.append(omero.grid.LongColumn( 'channel', 'Channel Index', [] ))
columns.append(omero.grid.LongColumn( 'zslice', 'zSlice Index', [] ))
columns.append(omero.grid.LongColumn( 'timepoint', 'Time Point Index', [] ))
resources = session.sharedResources()
table = resources.newTable( 1, 'BK_DB.h5' )
table.initialize(columns)
what I know for a way to save a file onto OMERO server (without attaching it to anything) is
- Code: Select all
file_obj = client.upload(DB, type="HDF5/featureDB")
but this method looks like saving a local file ('DB') to OMERO server (instead of OMERO.table object).
1.
Can anyone please tell me how to save an OMERO.table object on OMERO server? (I'm using 4.2.x now and will migrate to 4.3.x soon)
And this table should be able to be retrieved by any OMERO account.
2.
In order to retrieve the saved table, I'd like to use a query by table name and mimetype.
Is this a right way?
Thanks in advance,
BK