<div dir="ltr"><div><div><div><div><div><div>Hi Sebastien,<br><br></div>I am replying to this thread because I am taking over Pauls work on our OMERO system. <br><br></div>We are running our scripts using something like 'OMERO.server/bin/omero script run lib/scripts/script.py ScriptParameters', in this case from the command line. <br><br></div>The python script is not available online, but the following code is used to import the data:<br><br>    # Import directories to Omero<br>    if os.listdir(tmpDirSuccess):<br>        common.importDirectory(Conn, os.path.join(tmpDirSuccess), os.path.join(tmpDirSuccess), datasetIdSuccess)<br><br></div>Where common.py contains the code mentioned by Paul before, which we now changed to explicitly . <br><br></div>Kind regards,<br></div>Frans<br><br></div>