loading a custom plugin from forked repo doesn't pick classes
While testing some other issue, I needed to fork https://github.com/nomad-coe/nomad-schema-plugin-example, add my classes and load it with PYTHONPATH and plugin lines in nomad.yaml
include:
- 'schemas/example'
options:
schemas/example:
python_package: nomadschemaexample
I ended up only seeing the ExampleSection class already included in the plugin repo by @ahmil.
I could figure out that if I change the package name, I can then see the classes I added inside.
So it looks like that using the default package name nomadschemaexample
is importing something that is not what I actually wrote in my code.
Is it a intended behaviour or is it a conflicting name of packages that should be handled differently?