Skip to content

Commit

Permalink
Add temporary workaround axes matching
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaelman committed Dec 20, 2024
1 parent 8ff4a2c commit 33dcf17
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
)
)

Expand All @@ -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(
Expand Down

0 comments on commit 33dcf17

Please sign in to comment.