Task #10582 (closed)
Opened 11 years ago
Closed 11 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 11 years ago by sbesson
- Resolution set to fixed
- Status changed from new to closed
See https://github.com/openmicroscopy/openmicroscopy/pull/949