Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ dev-dependencies = [
"nomad-normalizer-plugin-bandstructure>=1.0.3",
"nomad-normalizer-plugin-system>=1.0.3",
'mypy>=1.15',
'pytest>= 5.3.0, <8',
'pytest-timeout>=1.4.2',
'pytest-cov>=2.7.1',
'ruff>=0.6',
'pytest',
'pytest-timeout',
'pytest-cov',
'ruff',
'typing-extensions>=4.12',

]
Expand Down
4 changes: 2 additions & 2 deletions simulationworkflowschema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def load_modules():
'photon_polarization',
'thermodynamics',
]
import simulationworkflowschema
import simulationworkflowschema # noqa

for name in sub_modules:
sub_module = importlib.import_module(f'simulationworkflowschema.{name}')
Expand All @@ -107,7 +107,7 @@ class SimulationWorkflowSchemaEntryPoint(SchemaPackageEntryPoint):
def load(self):
load_modules()

from .general import m_package
from .general import m_package # noqa

return m_package

Expand Down
4 changes: 2 additions & 2 deletions simulationworkflowschema/thermodynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def heat_capacity_c_v_specific(self) -> Optional[np.ndarray]:
"""Returns the specific heat capacity by dividing the heat capacity per
cell with the mass of the atoms in the cell.
"""
import nomad.atomutils
import nomad.atomutils # noqa

workflow = self.m_parent
if not workflow._systems or not workflow._systems[0].atoms:
Expand Down Expand Up @@ -226,7 +226,7 @@ def heat_capacity_c_v_specific(self) -> Optional[np.ndarray]:
def vibrational_free_energy_at_constant_volume_specific(
self,
) -> Optional[np.ndarray]:
import nomad.atomutils
import nomad.atomutils # noqa

workflow = self.m_parent
if not workflow._systems or not workflow._systems[0].atoms:
Expand Down