[ome-devel] Setting the channel ID/name from Matlab - Help!
Munro, Ian
i.munro at imperial.ac.uk
Tue Apr 3 12:28:26 BST 2012
Thanks again guys.
It all seems to be fine now.
Ian
On 2 Apr 2012, at 22:47, Will Moore wrote:
> 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