Skip to content

Instantly share code, notes, and snippets.

View sbesson's full-sized avatar

Sébastien Besson sbesson

View GitHub Profile
@sbesson
sbesson / README.md
Created March 22, 2012 20:21 — forked from joshmoore/README.md
Bootstrap script for creating and installing OMERO via Homebrew.

The instructions for installing OMERO on Mac OS X using Homebrew are available in the OMERO documentation.

@sbesson
sbesson / Build.log
Created April 12, 2012 19:50
PR #104: ./build.py clean build-dev
Buildfile: /Users/sebastien/code/openmicroscopy/build.xml
check-ivy:
Created dir: /Users/sebastien/code/openmicroscopy/target
:: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = /Users/sebastien/code/openmicroscopy/etc/ivysettings.xml
build-scons:
Expanding: /Users/sebastien/code/openmicroscopy/lib/repository/scons-local-1.2.0.d20090223.zip into /Users/sebastien/code/openmicroscopy/target/scons
Entering /Users/sebastien/code/openmicroscopy/components/dsl...
@sbesson
sbesson / MacbookPro1,1 - 10.6.8
Created April 23, 2012 13:01
Errors caused by setting DYLD_LIBRARY_PATH
omes-MacBook-Pro-15:openmicroscopy ome$ java -version
Error occurred during initialization of VM
Unable to load native library: libjava.jnilib
omes-MacBook-Pro-15:openmicroscopy ome$ unset DYLD_LIBRARY_PATH
omes-MacBook-Pro-15:openmicroscopy ome$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3646)
Java HotSpot(TM) Client VM (build 20.6-b01-415, mixed mode)
@sbesson
sbesson / testCombineImages.m
Created May 8, 2012 15:29
Test emission wavelength after running Combine Images script
%% Create session
loadOmero
client = omero.client('localhost', 4064);
session = client.createSession('sebastien', 'omero');
% Create id list
ids = java.util.ArrayList();
ids.add(java.lang.Long(326));
ids.add(java.lang.Long(327));
@sbesson
sbesson / testCombineImages.py
Created May 9, 2012 07:45
Test emission wavelength after running Combine Images script
import omero
from omero.gateway import BlitzGateway
conn = BlitzGateway('sebastien', 'omero', port=4064, host='localhost')
conn.connect()
imageId = [326,327]
for i in imageId:
# Get the image
print 'Image ' + str(i)
image = conn.getObject("Image", i)
@sbesson
sbesson / figureScriptsTest.py
Created May 25, 2012 13:29
Test permissions/namespaces for figure scripts
#! /usr/local/bin/python
import omero
from omero.gateway import BlitzGateway
import omero.scripts
def runTests():
# List users to test
users = ["sebastien","test"]
@sbesson
sbesson / testBfsavePerformance.m
Created July 11, 2012 07:30
Assess performance of bfsave with regard to Matlab built-in imwrite
%% Compare bfsave with imwrite
bfCheckJavaPath()
path = '/tmp/test.ome.tiff';
N = [10 20 50 100 200 500];
T = [10 20 50 100 200 500];
r= zeros(numel(N),numel(T));
for i = 1:numel(N)
for j = 1:numel(T)
I = uint8(rand(N(i),N(i),1,1,T(j))*(2^8-1));
@sbesson
sbesson / README.md
Last active October 10, 2015 08:58 — forked from joshmoore/README.md
Bootstrap script for creating and installing OMERO via Homebrew.
@sbesson
sbesson / README.md
Created September 7, 2012 12:46 — forked from joshmoore/README.md
Generate OME's download page
@sbesson
sbesson / ome_merge.py
Created September 26, 2012 12:29 — forked from joshmoore/ome_merge.py
Script to merge all PRs with a given label.
This gist is being merged into the OME mainline. Please see:
https://github.com/snoopycrimecop/snoopycrimecop/blob/master