From daca3339600cac27c010828f832ac3cd96c40ab8 Mon Sep 17 00:00:00 2001 From: JosePizarro3 Date: Mon, 3 Jun 2024 15:21:42 +0200 Subject: [PATCH] Move wrongly placed files --- src/{ => nomad_simulations}/__init__.py | 3 ++- src/{ => nomad_simulations}/schema.py | 0 src/nomad_simulations/schema_sections/nomad_plugin.yaml | 4 ---- 3 files changed, 2 insertions(+), 5 deletions(-) rename src/{ => nomad_simulations}/__init__.py (92%) rename src/{ => nomad_simulations}/schema.py (100%) delete mode 100644 src/nomad_simulations/schema_sections/nomad_plugin.yaml diff --git a/src/__init__.py b/src/nomad_simulations/__init__.py similarity index 92% rename from src/__init__.py rename to src/nomad_simulations/__init__.py index 7dee7aea..aab0ec12 100644 --- a/src/__init__.py +++ b/src/nomad_simulations/__init__.py @@ -19,13 +19,14 @@ from nomad.config.models.plugins import SchemaPackageEntryPoint from pydantic import Field +from .schema import m_package, Simulation class NomadSimulationsPackageEntryPoint(SchemaPackageEntryPoint): # parameter: int = Field(0, description='Custom configuration parameter') def load(self): - from .schema import ( + from nomad_simulations.schema import ( m_package, ) diff --git a/src/schema.py b/src/nomad_simulations/schema.py similarity index 100% rename from src/schema.py rename to src/nomad_simulations/schema.py diff --git a/src/nomad_simulations/schema_sections/nomad_plugin.yaml b/src/nomad_simulations/schema_sections/nomad_plugin.yaml deleted file mode 100644 index 07cb8346..00000000 --- a/src/nomad_simulations/schema_sections/nomad_plugin.yaml +++ /dev/null @@ -1,4 +0,0 @@ -plugin_type: schema -name: schemas/nomad_simulations -description: | - This is a collection of NOMAD schemas for simulation data.