Plug-in installation through pyproject.toml for NOMAD Oasis

Like described in the README.md of the template repo for the Oasis ( GitHub - FAIRmat-NFDI/nomad-distro-template: An example repository for creating a nomad distribution with custom plugins. · GitHub ), we added our desired plug-ins to the pyproject.toml :

[project.optional-dependencies]
# Add your plugins to the list below.
plugins = [
 "nomad-north-jupyter>=0.2.5",
  "pynxtools==0.13.2",
  "pynxtools-xps==0.6.1",
  "pynxtools-xrd==0.0.8",
  "nomad-material-processing>=1.0.0",
]

Committing it to git didn’t do anything (“Once the changes have been committed to the main branch, the new image will automatically be generated.”)

So we updated our image:

docker compose down 

docker compose pull

docker compose up -d

But still no plug-in showed up on http://localhost/nomad-oasis/gui/about/information or when trying:

docker compose exec app pip list | grep pynxtools

Any ideas on the causes or advice on how to proceed?

Hi!

Did you push the git commit to github? The new image is built in github actions pipeline.

And in the browser, the plugin list is cached. Can you try opening the developer tools by right clicking and then disabling the cache in the network tab.

Hi there! That is strange, committing to main should trigger the github workflow. Is your template repository public? If so, could you please link it here. Otherwise, check that you have followed the instructions regarding access tokens for private repositories and the status of the “Build and publish docker images” workflow under the “Actions” tab.