Skip to content

Commit

Permalink
Fix openkim metainfo
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Apr 26, 2024
1 parent ff4967f commit d5ac28b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions databaseparsers/openkim/metainfo/openkim.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Run(runschema.run.Run):
)

x_openkim_instance_id = Quantity(
type=np.dtype(np.int32),
type=np.int32,
shape=[],
description="""
unique ID of the property
Expand Down Expand Up @@ -138,7 +138,7 @@ class Elastic(simulationworkflowschema.Elastic):
m_def = Section(validate=False, extends_base_section=True)

x_openkim_excess = Quantity(
type=np.dtype(np.float64),
type=np.float64,
shape=[],
unit="pascal",
description="""
Expand All @@ -151,7 +151,7 @@ class Phonon(simulationworkflowschema.Phonon):
m_def = Section(validate=False, extends_base_section=True)

x_openkim_wave_number = Quantity(
type=np.dtype(np.float64),
type=np.float64,
shape=["n_spin_channels", "n_kpoints"],
unit="1 / m",
description="""
Expand All @@ -172,23 +172,23 @@ class SimulationWorkflow(simulationworkflowschema.SimulationWorkflow):
)

x_openkim_nomad_rms_error = Quantity(
type=np.dtype(np.float64),
type=np.float64,
shape=[],
description="""
root mean square difference of the openkim data with respect to nomad
""",
)

x_openkim_nomad_std = Quantity(
type=np.dtype(np.float64),
type=np.float64,
shape=[],
description="""
standard deviation of the nomad data
""",
)

x_openkim_n_nomad_data = Quantity(
type=np.dtype(np.int32),
type=np.int32,
shape=[],
description="""
number of nomad entries with property corresponding to x_openkim_property
Expand Down

0 comments on commit d5ac28b

Please sign in to comment.