Skip to content

Commit

Permalink
CLI: Add missing entry point groups for verdi plugin list
Browse files Browse the repository at this point in the history
The following groups were not part of the entry point group mapping:

 * `aiida.calculations.monitors`
 * `aiida.calculations.importers`

This made that they were not available as subcommands to
`verdi plugin list`.
  • Loading branch information
sphuber committed Sep 4, 2023
1 parent 34e564a commit ae637d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aiida/plugins/entry_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,22 @@ class EntryPointFormat(enum.Enum):

ENTRY_POINT_GROUP_TO_MODULE_PATH_MAP = {
'aiida.calculations': 'aiida.orm.nodes.process.calculation.calcjob',
'aiida.calculations.importers': 'aiida.calculations.importers',
'aiida.calculations.monitors': 'aiida.calculations.monitors',
'aiida.cmdline.computer.configure': 'aiida.cmdline.computer.configure',
'aiida.cmdline.data': 'aiida.cmdline.data',
'aiida.cmdline.data.structure.import': 'aiida.cmdline.data.structure.import',
'aiida.cmdline.computer.configure': 'aiida.cmdline.computer.configure',
'aiida.data': 'aiida.orm.nodes.data',
'aiida.groups': 'aiida.orm.groups',
'aiida.node': 'aiida.orm.nodes',
'aiida.parsers': 'aiida.parsers.plugins',
'aiida.schedulers': 'aiida.schedulers.plugins',
'aiida.storage': 'aiida.storage',
'aiida.transports': 'aiida.transports.plugins',
'aiida.tools.calculations': 'aiida.tools.calculations',
'aiida.tools.data.orbitals': 'aiida.tools.data.orbitals',
'aiida.tools.dbexporters': 'aiida.tools.dbexporters',
'aiida.tools.dbimporters': 'aiida.tools.dbimporters.plugins',
'aiida.transports': 'aiida.transports.plugins',
'aiida.workflows': 'aiida.workflows',
}

Expand Down

0 comments on commit ae637d8

Please sign in to comment.