Skip to content
Draft
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
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,6 @@ mbe_schema = "nomad_material_processing.vapor_deposition.pvd:mbe_schema"
pld_schema = "nomad_material_processing.vapor_deposition.pvd:pld_schema"
sputtering_schema = "nomad_material_processing.vapor_deposition.pvd:sputtering_schema"
thermal_schema = "nomad_material_processing.vapor_deposition.pvd:thermal_schema"
material_systems = "nomad_material_processing.material_systems:schema"

[tool.setuptools_scm]
18 changes: 18 additions & 0 deletions src/nomad_material_processing/material_systems/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from nomad.config.models.plugins import SchemaPackageEntryPoint


class MaterialSystemsSchemaEntryPoint(SchemaPackageEntryPoint):
"""
Entry point for lazy loading of the Material Systems schemas.
"""

def load(self):
from nomad_material_processing.material_systems.general import m_package

return m_package


schema = MaterialSystemsSchemaEntryPoint(
name='Material System Schema',
description='Schema for material systems.',
)
Loading