- Code: Select all
import omero
import omero_Tables_ice
import omero_SharedResources_ice
c = omero.client()
s = c.createSession()
r = s.sharedResources()
m = r.repositories()
i = m.descriptions[0].id.val
t = r.newTable(1, "/example.h5")
l = omero.grid.LongColumn('name','desc',None)
t.initialize([l])
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/afs/cs.cmu.edu/user/bhcho/<ipython console> in <module>()
AttributeError: 'NoneType' object has no attribute 'initialize'
is the first attribute from newTable an identifier?