From 33dcf17766e9a83a90a1ef3c6b97a3b29cd9816a Mon Sep 17 00:00:00 2001 From: ndaelman Date: Fri, 20 Dec 2024 14:04:28 +0100 Subject: [PATCH] Add temporary workaround axes matching --- .../schema_packages/schema_package.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/nomad_parser_plugin_boss/schema_packages/schema_package.py b/src/nomad_parser_plugin_boss/schema_packages/schema_package.py index f6b581b..9054783 100644 --- a/src/nomad_parser_plugin_boss/schema_packages/schema_package.py +++ b/src/nomad_parser_plugin_boss/schema_packages/schema_package.py @@ -17,7 +17,7 @@ class ParameterSpaceSlice(Schema): m_def = Section( a_h5web=H5WebAnnotation( signal='fitted_values', - axes=['parameter_2_values', 'parameter_1_values'], + axes=['blank', 'parameter_2_values', 'parameter_1_values'], ) ) @@ -33,6 +33,13 @@ class ParameterSpaceSlice(Schema): type=HDF5Dataset, a_h5web=H5WebAnnotation(long_name='') ) + blank = Quantity( + type=HDF5Dataset, a_h5web=H5WebAnnotation() + ) + + def normalize(self, archive, logger): + self.blank = np.array([]) + class PotentialEnergySurfaceFit(Schema): m_def = Section(