Commit 7d850bd7 authored by Alvin Noe Ladines's avatar Alvin Noe Ladines
Browse files

Added xz compression

parent dc59aff1
......@@ -16,6 +16,7 @@ import os
import logging
import gzip
import bz2
import lzma
from nomadcore.baseclasses import ParserInterface
import nomadcore.baseclasses
......@@ -44,6 +45,8 @@ class VASPRunParser:
open_file =
elif filepath.endswith('.bz2'):
open_file =
elif filepath.endswith('.xz'):
open_file =
parser.parse(os.path.abspath(filepath), open_file(filepath, 'rt'), backend)
Supports Markdown
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