generated from FAIRmat-NFDI/nomad-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82d18a3
commit 77f6566
Showing
4 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
from nomad.config.models.plugins import AppEntryPoint | ||
|
||
from nomad_polymerization_reactions.apps.polymerization_reaction_app import ( | ||
polymerization_reaction_app, | ||
) | ||
from nomad_polymerization_reactions.apps import polymerization | ||
|
||
myapp = AppEntryPoint( | ||
polymerization = AppEntryPoint( | ||
name='Polymerization Reactions', | ||
description='This app allows you to search **polymerization reactions** within NOMAD. The filter menu on the left and the shown default columns are specifically designed for polymerization reaction exploration. The dashboard directly shows useful interactive statistics about the data.', # noqa: E501 | ||
app=polymerization_reaction_app, | ||
description="""This app allows you to search **polymerization reactions** within | ||
NOMAD. The filter menu on the left and the shown default columns are specifically | ||
designed for polymerization reaction exploration. The dashboard directly shows | ||
useful interactive statistics about the data.""", | ||
app=polymerization.app, | ||
) |
2 changes: 1 addition & 1 deletion
2
...tions/apps/polymerization_reaction_app.py → ...rization_reactions/apps/polymerization.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
def test_importing_app(): | ||
# this will raise an exception if pydantic model validation fails for th app | ||
from nomad_polymerization_reactions.apps import polymerization_reaction_app # noqa: F401, I001 | ||
# this will raise an exception if pydantic model validation fails for the app | ||
from nomad_polymerization_reactions.apps.polymerization import app # noqa: F401, I001 |