2024-Tutorial Preparation #145
budschi
started this conversation in
Task Force Meeting
Replies: 3 comments 2 replies
-
@hampusnasstrom @ka-sarthak @aalbino2 @Pepe-Marquez: please add your thoughts! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Conclusion from a short discussion on the technical aspects of the Tutorial with @hampusnasstrom
|
Beta Was this translation helpful? Give feedback.
2 replies
-
https://github.com/FAIRmat-NFDI/AreaA-Examples/blob/main/tutorial13/planning.md |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tutorial planning
From Area A task force Meeting on Mar 4th, 2024 :
TF Meeting 11.03.2024
Goal of this meeting:
Tutorial - Detailed structure from Sebastian
Part 1: BaseSections and Built-in ELNs --> all users
BaseSections:
We add a relationship between *section definitions* that allows us to create more *specialized* definitions from more *abstract* definitions. Here the *properties* of the *abstract* definition are inherited by the more *specialized definitions*
importantly, functionality from already defined sections.
Built-In ELNs
Part 2: Plugin development in Jupyter Hub --> application admin
focus on application side
- inheriting on basesection and/or standard plugins (inheritance from different plugins)
fast part 3 - deployment:
Problems:
Details on Plugin Schema Writing in Jupyter Hub of central NOMAD:
I. Starting with yaml schema and using
metainfoyaml2py
and pip installing Plugin1. write custom schema (see tutorial 8)
2. yaml to py conversion
install:
pip install metainfoyaml2py
to convert a yaml schema into a Python plugin:run the conversion
3. install the plugin:
4. modify and improve schema if necessary, e.g. add functionality to a normalize function --> read out a file, etc.
5. test schema and generate archive output
--> keep editiing it until it is ready for deployment
II. Developing Plugin directly in Jupyter Hub (like Tutorial 12)
1. import all necessary modules etc. --> How would you know which ones you need? Start from example plugin?
2. Define&edit the schema in Python (see tutorial 12)
3. instanciate example entries: (see tutorial 12)
4. generate a yaml schema if you want to see how it looks in NOMAD (without Normalizers!) (see tutorial 12)
5. add normalizer functions for automatization, file reading etc.
test the nomrmalizer (see tutorial 12). super(xyz).normalizer() does not work here!
edit it schema until it is ready for deployment
III not covered yet:
parsers --> see tutorial 12
plot --> can only be shown indirectly
IV deployment: --> system admin or advanced application admin
dev deployment: only for devs
use docker image writing template to write Oasis image, deploy locally or at IKZ
what is covered already in tutorials?
Beta Was this translation helpful? Give feedback.
All reactions