|
|
**INFO**
|
|
|
|
|
|
For testing the normalized **prototypes classification** one shall run `classify4m_prototypes.py` code and give as an argument formula of the interest.
|
|
|
For testing the normalized **prototypes classification** one shall run `classify4m_prototypes.py` code and give as an argument the structure taken from api/resolve:
|
|
|
|
|
|
|
|
|
https://analytics-toolkit.nomad-coe.eu/api/resolve/NcC8TDWGWCtQLhWeB2a1N8y9Q7y4r/Cx_ur73_FOgMaVin27w-dT6nh3dvN/section_run/section_system/0c?format=recursiveJson
|
|
|
|
|
|
The program classifies the material on the basis of **prototypes** (stored in `structure_types.py` that can be imported from nomadcore in python-common). The output of the code for examplar cases is presented below:
|
|
|
|
... | ... | @@ -40,7 +43,7 @@ OUTPUT: |
|
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
|
Done normalization steps:
|
|
|
**Done normalization steps:**
|
|
|
|
|
|
- added submodule to nomad-lab-base called normalizer-prototypes in normalizers/prototypes
|
|
|
|
... | ... | @@ -62,6 +65,7 @@ added cmd |
|
|
` cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/normalizers/protot\
|
|
|
ypes/normalizer/normalizer-prototypes/classify4me_prototypes.py",
|
|
|
`
|
|
|
|
|
|
and defined function *outputSysSection* that writes out to json secSystem
|
|
|
|
|
|
- added `PrototypesNormalizerSpec.scala` in `/nomad-lab-base/normalizers/prototypes/src/test/scala/eu/nomad_lab/normalizers` and included:
|
... | ... | |