<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap:break-word">
Hi Luca
<div><br>
</div>
<div>There is a python function in <a href="https://github.com/openmicroscopy/openmicroscopy/blob/dev_4_4/components/tools/OmeroWeb/omeroweb/webadmin/webadmin_utils.py#L12">
https://github.com/openmicroscopy/openmicroscopy/blob/dev_4_4/components/tools/OmeroWeb/omeroweb/webadmin/webadmin_utils.py#L12</a></div>
<div><br>
</div>
<div>you just need to call it during the login process</div>
<div><br>
</div>
<div>from omeroweb.webadmin.webadmin_utils import upgradeCheck</div>
<div>upgradeCheck()</div>
<div><br>
<div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br class="Apple-interchange-newline">
Thanks</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
Ola</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<br>
</div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<span style="font-family:Arial; font-size:12px; font-weight:bold">Aleksandra Tarkowska, M.Sc. Eng.</span></div>
<div style="color:rgb(0,0,0); font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div><span style="font-size:12px"><font style="font-family:Tahoma">
<div><span style="font-family:Arial">OME Software Developer</span></div>
<span style="font-family:Calibri"><br style="font-family:Arial">
</span></font><span lang="en-GB" style="font-family:Tahoma">
<div style="margin:0pt; font-family:Arial"><font color="black">Wellcome Trust Centre for Gene Regulation & Expression</font></div>
<div style="margin:0pt; font-family:Arial"><font color="black">College of Life Sciences</font></div>
<div style="margin:0pt; font-family:Arial"><font color="black">MSI/WTB/JBC Complex</font></div>
<div style="margin:0pt; font-family:Arial"><font color="black">University of Dundee</font></div>
<div style="margin:0pt; font-family:Arial"><font color="black">Dow Street</font></div>
<div style="margin:0pt"><font face="Calibri,sans-serif" style="font-family:Arial"><font color="black">Dundee DD1 5EH<br>
United Kingdom</font></font></div>
</span></span></div>
</div>
</div>
<br>
<div>
<div>On 18 Jul 2013, at 13:15, Luca Lianas <<a href="mailto:luca.lianas@crs4.it">luca.lianas@crs4.it</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi,
<div>is there a way to perform a version check between the Python API and an OMERO server?</div>
<div>We need some kind of automatic mechanism that will throw an exception if the version of the server and the version of the compiled API are not the same (i.e. using an OMERO 4.4.8 Python API against a 4.3 OMERO server).</div>
<div>Our idea is to add a "biobank" tag to perform a check which can guarantee that the API we are using was compiled against the same ICE version and the same OMERO.biobank models used to compile the server.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Luca<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Luca Lianas<br>
<div><span>Data Fusion - Distributed Computing</span><br>
CRS4 - Centro di Ricerche, Sviluppo e Studi Superiori della Sardegna<br>
POLARIS, Edificio 1, 09010 PULA (CA - Italy)<br>
<br>
<br>
Phone: 070/9250266<br>
Email: <a href="mailto:luca.lianas@crs4.it" target="_blank">luca.lianas@crs4.it</a><br>
</div>
</div>
</div>
</div>
_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br>
</blockquote>
</div>
<br>
</div>
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>