Skip to content

Commit

Permalink
Restore .vscode/settings.json file
Browse files Browse the repository at this point in the history
Deleted unused comment-warning in variables.py
  • Loading branch information
JosePizarro3 committed May 28, 2024
1 parent 90edd52 commit 71c5eb2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"python.defaultInterpreterPath": ".pyenv/bin/python",
"python.terminal.activateEnvInCurrentTerminal": true,
"editor.rulers": [90],
"editor.renderWhitespace": "all",
"editor.tabSize": 4,
"[javascript]": {
"editor.tabSize": 2
},
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
"${workspaceFolder}/.pyenv/**": true
},
"files.exclude": {
"\"**/*.pyc\": {\"when\": \"$(basename).py\"}": true,
"**/__pycache__": true,
"**/node_modules": true
},
"python.testing.pytestPath": "pytest",
"python.testing.pytestArgs": ["tests"],
"python.testing.unittestEnabled": false,
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true
}
4 changes: 2 additions & 2 deletions src/nomad_simulations/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class KMesh(Variables):
"""

points = Quantity(
type=KMeshSettings.points, # ! fix this (it is not working during parsing)
type=KMeshSettings.points,
description="""
Reference to the `KMesh.points` over which the physical property is calculated. These are 3D arrays stored in fractional coordinates.
""",
Expand All @@ -206,7 +206,7 @@ class KLinePath(Variables):
""" """

points = Quantity(
type=KLinePathSettings.points, # ! fix this (it is not working during parsing)
type=KLinePathSettings.points,
description="""
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 71c5eb2

Please sign in to comment.