Commit 54931005 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Added the JSON header and footer.

parent faa46a62
Pipeline #8869 passed with stage
in 5 minutes and 18 seconds
......@@ -38,6 +38,7 @@ class BigDFTMainParser(AbstractBaseParser):
directly into memory.
with open(self.file_path, "r") as fin:
# Open default sections and output default information
......@@ -70,6 +71,8 @@ class BigDFTMainParser(AbstractBaseParser):
except YAMLError:
raise Exception("There was a syntax error in the BigDFT YAML output file.")
def generate_root_nodes(self, loader):
# Ignore the first two events
loader.get_event() # StreamStarEvetn
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment