diff --git a/pyproject.toml b/pyproject.toml index 5179719..6173877 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,6 +110,5 @@ where = ["src"] [project.entry-points.'nomad.plugin'] myparser = "nomad_unisyscat.parsers:myparser" mypackage = "nomad_unisyscat.schema_packages:mypackage" -unisyscatpackage = "nomad_unisyscat.schema_packages:unisyscatpackage" myapp = "nomad_unisyscat.apps:myapp" diff --git a/src/nomad_unisyscat/schema_packages/__init__.py b/src/nomad_unisyscat/schema_packages/__init__.py index feb2ab4..4eada92 100644 --- a/src/nomad_unisyscat/schema_packages/__init__.py +++ b/src/nomad_unisyscat/schema_packages/__init__.py @@ -14,21 +14,4 @@ def load(self): mypackage = MySchemaPackageEntryPoint( name='MyPackage', description='Schema package defined using the new plugin mechanism.', -) - - -class SpectroscopyEntryPoint(SchemaPackageEntryPoint): - parameter: int = Field(0, description='Custom configuration parameter') - - def load(self): - from nomad_unisyscat.schema_packages.mypackage import m_package - - return m_package - - -unisyscatpackage = SpectroscopyEntryPoint( - name='UniSysCat', - description=""" - Schema package for unisyscat example data defined using the new plugin mechanism. - """, -) +) \ No newline at end of file diff --git a/src/nomad_unisyscat/schema_packages/mypackage.py b/src/nomad_unisyscat/schema_packages/mypackage.py index b082152..f2bed15 100644 --- a/src/nomad_unisyscat/schema_packages/mypackage.py +++ b/src/nomad_unisyscat/schema_packages/mypackage.py @@ -26,7 +26,6 @@ m_package = SchemaPackage() - class NVRSpectroscopy(Measurement, PlotSection, EntryData): measurements_data_file = Quantity( type=str, @@ -94,4 +93,4 @@ def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None: self.message = f'Hello {self.name}!' -m_package.__init_metainfo__() +m_package.__init_metainfo__() \ No newline at end of file