diff --git a/src/ome_autogen.py b/src/ome_autogen.py index beef7a62..d7c327e6 100644 --- a/src/ome_autogen.py +++ b/src/ome_autogen.py @@ -985,8 +985,8 @@ def _simple_class(self) -> List[str]: if self.type.local_name == "Hex40": return [ "class Hex40(ConstrainedStr):", - " min_length = 20", - " max_length = 20", + " min_length = 40", + " max_length = 40", ] lines = [] diff --git a/testing/data/fake-plate-rows-2.ome.xml b/testing/data/fake-plate-rows-2.ome.xml new file mode 100644 index 00000000..4945aa05 --- /dev/null +++ b/testing/data/fake-plate-rows-2.ome.xml @@ -0,0 +1 @@ +ExperimentPlate 0 of 1PlateAcquisition 0 of 1Image Description 01234567890ABCDEF1234567890ABCDEF12345678Image Description 11234567890ABCDEF1234567890ABCDEF12345678 \ No newline at end of file