diff --git a/src/allotropy/parsers/moldev_softmax_pro/softmax_pro_structure.py b/src/allotropy/parsers/moldev_softmax_pro/softmax_pro_structure.py index 64cb583a6..16cf476c2 100644 --- a/src/allotropy/parsers/moldev_softmax_pro/softmax_pro_structure.py +++ b/src/allotropy/parsers/moldev_softmax_pro/softmax_pro_structure.py @@ -34,7 +34,7 @@ try_non_nan_float_or_none, ) -BLOCKS_LINE_REGEX = r"^##BLOCKS=\s*(\d+)$" +BLOCKS_LINE_REGEX = r"^##BLOCKS=\s*(\d+)\s*$" END_LINE_REGEX = "~End" EXPORT_VERSION = "1.3" VALID_NAN_VALUES = ("Masked", "Range?", "Error") diff --git a/tests/parsers/moldev_softmax_pro/testdata/partial_plate.txt b/tests/parsers/moldev_softmax_pro/testdata/partial_plate.txt index 06d20c501..ab8f195dd 100644 --- a/tests/parsers/moldev_softmax_pro/testdata/partial_plate.txt +++ b/tests/parsers/moldev_softmax_pro/testdata/partial_plate.txt @@ -1,4 +1,4 @@ -##BLOCKS= 1 +##BLOCKS= 1 Plate: Plate1 1.3 PlateFormat Spectrum Absorbance Raw FALSE 21 525 565 2 1 16 384 1 16 Temperature(¡C) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 525 26.2 0.0994 0.0964 0.0967 0.0972 0.095 0.0947 0.0932 0.0936 0.0958 0.0969 0.099 0.1037 0.1302 0.1248 0.1008 0.1006