Created
March 7, 2016 22:16
-
-
Save icaoberg/790727e69a1605db1b76 to your computer and use it in GitHub Desktop.
Create a new project and a dataset in OMERO using OMERO Matlab #OMERO.matlab-5.2.2-ice35-b17
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
addpath( 'OMERO.matlab-5.2.2-ice35-b17' ) | |
server = 'localhost'; | |
port = 4064; | |
username = 'murphylab'; | |
password = 'murphylab'; | |
client = loadOmero( server, port ); | |
session = client.createSession( username, password ); | |
timeout_in_seconds = 60; | |
client.enableKeepAlive( timeout_in_seconds ); | |
%lets make a project | |
project_name = 'My First Project'; | |
project = createProject( session, project_name ); | |
%and a dataset attached to the project | |
dataset_name = 'Pretty Pictures'; | |
dataset = createDataset( session, dataset_name, project ); | |
%very important to close the session | |
client.closeSession() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment