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 #12121: 0003-specification-Add-PockelCell-enum.patch
File 0003-specification-Add-PockelCell-enum.patch,
2.2 KB
(added by rleigh, 10 years ago) |
|
-
From 334f638cd577d08e9adace469a2634c06bafa84a Mon Sep 17 00:00:00 2001
From: Roger Leigh <r.leigh@dundee.ac.uk>
Date: Fri, 18 Apr 2014 15:38:10 +0100
Subject: [PATCH 3/7] specification: Add PockelCell enum
---
.../formats-api/src/loci/formats/meta/MetadataConverter.java | 2 +-
components/specification/released-schema/2013-10-dev-2/ome.xsd | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/components/formats-api/src/loci/formats/meta/MetadataConverter.java b/components/formats-api/src/loci/formats/meta/MetadataConverter.java
index 1ab1c70..a1f28b8 100644
a
|
b
|
public final class MetadataConverter { |
3892 | 3892 | catch (NullPointerException e) { } |
3893 | 3893 | |
3894 | 3894 | try { |
3895 | | Boolean pockelCell = |
| 3895 | PockelCell pockelCell = |
3896 | 3896 | src.getLaserPockelCell(instrumentIndex, lightSource); |
3897 | 3897 | if (pockelCell != null) { |
3898 | 3898 | dest.setLaserPockelCell(pockelCell, instrumentIndex, lightSource); |
-
diff --git a/components/specification/released-schema/2013-10-dev-2/ome.xsd b/components/specification/released-schema/2013-10-dev-2/ome.xsd
index bd281cd..db31ccb 100644
a
|
b
|
|
2036 | 2036 | </xsd:restriction> |
2037 | 2037 | </xsd:simpleType> |
2038 | 2038 | </xsd:attribute> |
2039 | | <xsd:attribute name="PockelCell" use="optional" type="xsd:boolean"> |
| 2039 | <xsd:attribute name="PockelCell" use="optional"> |
2040 | 2040 | <xsd:annotation> |
2041 | 2041 | <xsd:documentation> |
2042 | | If true the laser has a PockelCell to rotate the polarization of the beam. [flag] |
| 2042 | If Present the laser has a PockelCell to rotate the polarization of the beam, or Absent if not. [flag] |
2043 | 2043 | </xsd:documentation> |
2044 | 2044 | </xsd:annotation> |
| 2045 | <xsd:simpleType> |
| 2046 | <xsd:restriction base="xsd:string"> |
| 2047 | <xsd:enumeration value="Absent"/> |
| 2048 | <xsd:enumeration value="Present"/> |
| 2049 | </xsd:restriction> |
| 2050 | </xsd:simpleType> |
2045 | 2051 | </xsd:attribute> |
2046 | 2052 | <xsd:attribute name="RepetitionRate" use="optional" type="xsd:float"> |
2047 | 2053 | <xsd:annotation> |
Download in other formats:
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.23468 sec.)