Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PseudoPotentialData: add the get_entry_point_name classmethod #30

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Dec 7, 2020

Fixes #28

The method will return the entry point name under which the subclass of
PseudoPotentialData is registered. Note that the entry point name does
not include the entry point group. For example, the UpfData plugin is
registered under aiida.data:pseudo.upf, but the classmethod will
return the string pseudo.upf.

The method will return the entry point name under which the subclass of
`PseudoPotentialData` is registered. Note that the entry point name does
not include the entry point group. For example, the `UpfData` plugin is
registered under `aiida.data:pseudo.upf`, but the classmethod will
return the string `pseudo.upf`.
@sphuber sphuber merged commit beb85e6 into master Dec 7, 2020
@sphuber sphuber deleted the fix/028/pseudo-potential-data-entry-point-name branch December 7, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add classmethod to get entry point name of PseudoPotentialData subclass
1 participant