Source code for genui.compounds.extensions.fileimports.parser

"""
parser

Created by: Martin Sicho
On: 7/13/20, 4:37 PM
"""
from abc import ABC, abstractmethod
from typing import Iterable


[docs]class FileParser(ABC): def __init__(self, file, molset): self.molset = molset self.file = file self.path = file.path
[docs] @abstractmethod def parse(self) -> Iterable[tuple]: pass