Commit 3a846398 authored by Alvin Noe Ladines's avatar Alvin Noe Ladines
Browse files

Added kwargs to PhonopyParser

parent c9582b3a
from phonopyparser.phonopy_calculators import PhonopyParser
from phonopyparser.phonopy_parser import PhonopyParser
......@@ -21,11 +21,12 @@ from .metainfo import m_env
class PhonopyParser(FairdiParser):
def __init__(self):
def __init__(self, **kwargs):
name='parsers/phonopy', code_name='Phonopy', code_homepage='',
self._kwargs = kwargs
def mainfile(self):
......@@ -182,11 +183,12 @@ class PhonopyParser(FairdiParser):
self.mainfile = filepath
self.archive = archive
self.logger = logger if logger is not None else logging
self._metainfo_env = m_env
phonopy_obj = self.phonopy_obj = PhononProperties(self.phonopy_obj, self.logger, **kwargs) = PhononProperties(self.phonopy_obj, self.logger, **self._kwargs)
pbc = np.array((1, 1, 1), bool)
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