This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
set -u | |
set -e | |
set -x | |
COOKIES=cookies.txt | |
LOGIN_URL=https://omero.host/prefix/webclient/login/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
set -u | |
set -e | |
set -x | |
OMERO_HOST='https://cowfish.openmicroscopy.org/merge' | |
DIRECTORY='/data/files' | |
if [ -d "$DIRECTORY" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import omero | |
import omero.gateway | |
import time, datetime | |
from omero.rtypes import * | |
host = "localhost" | |
port = 4064 | |
passwd = "SECRET" | |
user = "USER" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dist/bin/omero import /Users/ola/OMERO/IMAGE/DEMO/PTRE/P-TRE_1_R3D_D3D.dv --debug=DEBUG | |
Previously logged in to 192.168.99.100:4064 as root | |
Server: [192.168.99.100:4064] | |
Username: [root] | |
Password: | |
Created session b851c807-efd4-462d-b57f-567daaa622c3 ([email protected]:4064). Idle timeout: 10 min. Current group: system | |
2016-04-28 13:59:14,273 247 [ main] INFO ome.formats.importer.ImportConfig - OMERO Version: 5.2.2-205-5acf9b8-dirty-ice35-b1 | |
2016-04-28 13:59:14,287 261 [ main] INFO ome.formats.importer.ImportConfig - Bioformats version: 5.1.8 revision: 9eb8da31c1f01989f439963b9cc215b4398bedd8 date: 12 February 2016 | |
2016-04-28 13:59:14,327 301 [ main] INFO formats.importer.cli.CommandLineImporter - Log levels -- Bio-Formats: DEBUG OMERO.importer: DEBUG | |
2016-04-28 13:59:14,329 303 [ main] DEBUG ome.formats.importer.ImportConfig - Loaded savedDirectory from ome.formats.importer.util.IniFileLoader@6e6c3152 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lifesci-45789:omero-grid-docker ola$ eval "$(docker-machine env omerodev)" | |
lifesci-45789:omero-grid-docker ola$ ./build.py omero-grid | |
Running: docker build --build-arg OMERO_VERSION=latest -t openmicroscopy/omero-grid:latest omero-grid | |
Sending build context to Docker daemon 10.75 kB | |
Step 1 : FROM centos:centos7 | |
---> 778a53015523 | |
Step 2 : MAINTAINER [email protected] | |
---> Using cache | |
---> 068ba647d62a | |
Step 3 : RUN yum -y install epel-release && curl -o /etc/yum.repos.d/zeroc-ice-el7.repo http://download.zeroc.com/Ice/3.5/el7/zeroc-ice-el7.repo && yum -y install unzip wget patch java-1.8.0-openjdk ice ice-python ice-servers python-pip numpy scipy python-matplotlib python-pillow python-tables postgresql && yum clean all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy_cache_path /data/omero-cache levels=1:2 keys_zone=omero:200m inactive=30d use_temp_path=off; | |
map $request_uri $skip_cache | |
{ | |
default 1; | |
"~web(client|gateway)/(render)_*" 0; | |
} | |
upstream omeroweb_omero { | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import omero, os | |
import omero.gateway | |
from omero.rtypes import * | |
from omero.rtypes import unwrap | |
host = "localhost" | |
port = 4064 | |
pass = "ome" | |
user = "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright (c) 2016 University of Dundee. | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as | |
# published by the Free Software Foundation, either version 3 of the | |
# License, or (at your option) any later version. | |
# |
OlderNewer