Skip to content

Commit

Permalink
Trying changing name of entry point to nomad_simulations_pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Jun 3, 2024
1 parent 0618a89 commit 8b464d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ package-dir = { "" = "src" }
where = ["src"]

[project.entry-points.'nomad.plugin']
nomad_simulations = "nomad_simulations:nomad_simulations"
nomad_simulations = "nomad_simulations:nomad_simulations_pkg"
4 changes: 2 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ class NomadSimulationsPackageEntryPoint(SchemaPackageEntryPoint):
# parameter: int = Field(0, description='Custom configuration parameter')

def load(self):
from nomad_simulations.schema import (
from .schema import (
m_package,
)

return m_package


nomad_simulations = NomadSimulationsPackageEntryPoint(
nomad_simulations_pkg = NomadSimulationsPackageEntryPoint(
name='NomadSimulations',
description='Schema package defined for simulations.',
)

0 comments on commit 8b464d3

Please sign in to comment.