[ome-devel] Python import API
Mark Carroll
m.t.b.carroll at dundee.ac.uk
Tue Mar 1 14:14:05 GMT 2016
On 03/01/2016 02:03 PM, Niko Ehrenfeuchter wrote:
> Hi Mark,
>
> On 01.03.2016 09:50, Mark Carroll wrote:
>> On 02/29/2016 05:56 PM, Colin Blackburn (Staff) wrote:
(snip)
>>> Here we capture the stdout and stderr. The Pixels IDs are in stdout
>>> (just the IDs each on a new line), for example:
(snip)
>> They're also readily available via HQL, e.g., for Pixels ID 12345,
>>
>> echo Image ID is `bin/omero hql --style plain "SELECT image.id FROM
>> Pixels WHERE id = 12345" | cut -f 2 -d ,`
>
> isn't this some kind of chicken-egg-problem then? If I knew the Pixels
> ID already, I was basically fine. But how do I get it from uploading via
> Python?
From the stdout Colin mentions above, I'd assume. I am probably
misunderstanding something though, if so my apologies.
-- Mark
The University of Dundee is a registered Scottish Charity, No: SC015096
More information about the ome-devel
mailing list