but somehow the parser is not recognised. We upload data into NOMAD-OASIS and data are not processed because parser is not recognized.
We are using the 1.2.0 version.
Also, we don’t understand how should multiple plugins be listed?
Any help would me appreaciated.
this is the relevant output from the docker log file:
#39 5.304 cannot set config setting plugins_options={‘parsers/apbs’: {‘python_package’: ‘nomadapbs’}}: 3 validation errors for ParsingModel[Dict[str, Union[nomad.config.plugins.Schema, nomad.config.plugins.Parser]]] #39 5.304 root → parsers/apbs → name #39 5.304 field required (type=value_error.missing) #39 5.304 root → parsers/apbs → name #39 5.304 field required (type=value_error.missing) #39 5.304 root → parsers/apbs → parser_class_name #39 5.304 field required (type=value_error.missing)
Thank you for answer @hampusnasstrom . Indentation we have is correct, it was just error during copying here. Second answer (how to include several parsers) is helpful but it cannot resolve first issue - nomad cannot recognize new parsers. Is the problem in some options in docker file?
This is the content of nomad_plugin.yaml file:
plugin_type: parser
name: parsers/apbs
description: |
This is a simple hello world parser. This is meant as a template. Fork the github
project to create your own parser.
mainfile_name_re: ^.*\.in$
parser_class_name: nomadapbs.APBSParser
code_name: APBS
the really important point is and i this can create the issue you have, is that you change the ownership of the plugin folder to 1000:1000, i think it is missing in the docs.
sudo chown -R 1000:1000 <path-to-plugin>
another issue could be that you didnt share the right level. you can go inside the nomad_oasis_app container to check in the plugins folder if everything looks correct.