Skip to content
Snippets Groups Projects
Commit bc6c6072 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Corrected typo.

parent e82b9773
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ class CPMDRunType(object): ...@@ -18,7 +18,7 @@ class CPMDRunType(object):
#=============================================================================== #===============================================================================
class CPMDParser(ParserInterface): class CPMDParser(ParserInterface):
"""This class handles the initial setup before any parsing can happen. It """This class handles the initial setup before any parsing can happen. It
determines which version of CP2K was used to generate the output and then determines which version of CPMD was used to generate the output and then
sets up a correct main parser. sets up a correct main parser.
After the implementation has been setup, you can parse the files with After the implementation has been setup, you can parse the files with
...@@ -31,7 +31,7 @@ class CPMDParser(ParserInterface): ...@@ -31,7 +31,7 @@ class CPMDParser(ParserInterface):
"""Setups the version by looking at the output file and the version """Setups the version by looking at the output file and the version
specified in it. specified in it.
""" """
# Search for the CP2K version specification and the RUN_TYPE for the # Search for the CPMD version specification and the run type for the
# calculation. The correct and optimized parser is initialized based on # calculation. The correct and optimized parser is initialized based on
# this information. # this information.
regex_version = re.compile("\s+VERSION ([\d\.]+)") regex_version = re.compile("\s+VERSION ([\d\.]+)")
...@@ -85,7 +85,7 @@ class CPMDParser(ParserInterface): ...@@ -85,7 +85,7 @@ class CPMDParser(ParserInterface):
self.parser_context.file_service.set_file_id(filename, "output") self.parser_context.file_service.set_file_id(filename, "output")
# Setup the correct main parser based on the version id. If no match # Setup the correct main parser based on the version id. If no match
# for the version is found, use the main parser for CP2K 2.6.2 # for the version is found, use the main parser for CPMD 4.1
self.setup_main_parser(version_id, run_type) self.setup_main_parser(version_id, run_type)
def get_metainfo_filename(self): def get_metainfo_filename(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment