Skip to content

Commit

Permalink
Problems with rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed May 27, 2024
1 parent 0b83221 commit 9e4ce18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/nomad_simulations/numerical_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,6 @@ def resolve_points(
'The `reciprocal_lattice_vectors` are not passed as an input.'
)
return None
# Check if `points_norm` is a list and convert it to a numpy array
if isinstance(points_norm, list):
points_norm = np.array(points_norm)

# Check if `points_norm` is a list and convert it to a numpy array
if isinstance(points_norm, list):
Expand Down
8 changes: 4 additions & 4 deletions src/nomad_simulations/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ class KMesh(Variables):
"""

points = Quantity(
type=KMeshSettings.points, # ! fix this (it is not working in parsers!)
type=KMeshSettings.points, # ! fix this (it is not working during parsing)
description="""
Reference to the `KMeshSettings.points` over which the physical property is calculated. These are 3D arrays stored in fractional coordinates.
Reference to the `KMesh.points` over which the physical property is calculated. These are 3D arrays stored in fractional coordinates.
""",
)

Expand All @@ -184,9 +184,9 @@ class KLinePath(Variables):
""" """

points = Quantity(
type=KLinePathSettings.points, # ! fix this (it is not working in parsers!)
type=KLinePathSettings.points, # ! fix this (it is not working during parsing)
description="""
Reference to the `KLinePathSettings.points` in which the physical property is calculated. These are 3D arrays stored in fractional coordinates.
Reference to the `KLinePath.points` in which the physical property is calculated. These are 3D arrays stored in fractional coordinates.
""",
)

Expand Down

0 comments on commit 9e4ce18

Please sign in to comment.