Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Ticket #2648: omero4.2_platename.patch
-
old
|
new
|
|
41 | 41 | import omero.model.Annotation; |
42 | 42 | import omero.model.Image; |
43 | 43 | import omero.model.Pixels; |
| 44 | import omero.model.Plate; |
44 | 45 | |
45 | 46 | import org.apache.commons.logging.Log; |
46 | 47 | import org.apache.commons.logging.LogFactory; |
… |
… |
|
75 | 76 | { |
76 | 77 | reader = store.getReader(); |
77 | 78 | |
| 79 | List<IObjectContainer> plateContainers = store.getIObjectContainers(Plate.class); |
| 80 | if (plateContainers.size() == 1) { |
| 81 | Plate plate = (Plate) plateContainers.get(0).sourceObject; |
| 82 | String userSpecifiedName = store.getUserSpecifiedImageName(); |
| 83 | if (userSpecifiedName != null) { |
| 84 | plate.setName(rstring(userSpecifiedName)); |
| 85 | } |
| 86 | } |
| 87 | |
78 | 88 | List<IObjectContainer> containers = |
79 | 89 | store.getIObjectContainers(Pixels.class); |
80 | 90 | for (IObjectContainer container : containers) |
Download in other formats:
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.18364 sec.)