Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10582 (closed)

Opened 7 years ago

Closed 7 years ago

OMERO.matlab loadOmero() with ice.config file

Reported by: sbesson Owned by: sbesson
Priority: minor Milestone: OMERO-4.4.7
Component: General Version: n.a.
Keywords: Matlab Cc: analysis.openmicroscopy.org.uk
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2013-04-09 (7))

Description

Was trying to call loadOmero using an ice.config file

>> [c,s]=loadOmero('~/code/nightshade_ice.config');
Error using loadOmero (line 161)
Java exception occurred:
omero.ClientError: No username specified
	at omero.client.createSession(client.java:627)
	at omero.client.createSession(client.java:588)

This signature is not possible in the current form of the function. A javaArray needs to be built instead which is not intuitive.

A better way here will be to check if the string corresponds to an existing path on disk and then construct javaArray('java.io.File', 1) to initialize the client/session. The corresponding unit tests should be revised accordingly.

Change History (1)

comment:1 Changed 7 years ago by sbesson

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.78941 sec.)

We're Hiring!