Skip to content

Commit

Permalink
Clarify parser_class_name role
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaelman committed Sep 11, 2024
1 parent 9f7cb39 commit 979be15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/nomad_parser_vasp/parsers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

class VasprunXMLEntryPoint(ParserEntryPoint):
parameter: int = Field(0, description='Custom configuration parameter')
parser_class_name='nomad_parser_vasp.parsers.xml_parser.VasprunXMLParser'

def load(self):
from nomad.parsing import MatchingParserInterface

return MatchingParserInterface(**self.dict())
return MatchingParserInterface(
parser_class_name='nomad_parser_vasp.parsers.xml_parser.VasprunXMLParser',
**self.dict(),
)


xml_entry_point = VasprunXMLEntryPoint(
Expand Down

0 comments on commit 979be15

Please sign in to comment.