diff --git a/nomad/parsing/parser.py b/nomad/parsing/parser.py index 3c8f8ac41b4529514b6fa905d78fb8ede040d83c..c6cf0fc402aa06465d6cc9663d6da103d87086e3 100644 --- a/nomad/parsing/parser.py +++ b/nomad/parsing/parser.py @@ -152,7 +152,7 @@ class BrokenParser(Parser): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.code_name = 'currupted mainfile' + self.code_name = 'corrupted mainfile' self._patterns = [ re.compile( r'^pid=[0-9]+' diff --git a/nomad/parsing/parsers.py b/nomad/parsing/parsers.py index ba20b1291ad6cf37759ca35ec2aa5bac7c7b9ed7..f5d7365dd2b43a8a7f33b356025e966ee485997b 100644 --- a/nomad/parsing/parsers.py +++ b/nomad/parsing/parsers.py @@ -314,7 +314,7 @@ for parser in parsers: if ( getattr(parser, 'domain', None) == 'dft' and code_name is not None - and code_name != 'currupted mainfile' + and code_name != 'corrupted mainfile' and code_name != 'Template' ): code_names.append(code_name)