[ome-devel] Setting the channel ID/name from Matlab - Help!

Will Moore will at lifesci.dundee.ac.uk
Mon Apr 2 22:47:20 BST 2012


Hi Ian,

 As Jean-Marie pointed out, the Name attribute is actually on the LogicalChannel (not Channel). 
Apologies for that - shouldn't try to remember code off the top of my head!

  Will.



On 2 Apr 2012, at 16:37, Munro, Ian wrote:

> Thanks Will.
> 
> Ian 
> 
> 
> On 2 Apr 2012, at 15:38, Will Moore wrote:
> 
>> Hi Ian,
>> 
>> Sounds like you simply want to save a Channel Name?  (unless you already have names that you don't want to overwrite)?
>> 
>> Not sure how you're creating an image at the moment, but once you have an omero.model.ChannelI in hand...
>> 
>> channel.setName( rstring("Channel 1") )
>> session.getUpdateService().saveObject(channel)
>> 
>> 
>> Let us know if you need more help,
>> 
>> Cheers,
>> 
>> 
>> Will
>> 
>> 
>> 
>> 
>> On 2 Apr 2012, at 15:29, Munro, Ian wrote:
>> 
>>> Hello again
>>> 
>>> I'm afraid that I'm still trying to create a image from Matlab.
>>> I have successfully created an  image of the correct size & I can read & write data ok 
>>> but I need to add a description  ( just a few characters ) for each channel.
>>> 
>>> Can anybody assist?
>>> 
>>> Thanks
>>> 
>>> Ian
>>> _______________________________________________
>>> ome-devel mailing list
>>> ome-devel at lists.openmicroscopy.org.uk
>>> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>> 
> 



More information about the ome-devel mailing list