pyHarm.Substructures.SubDataReader.ABCReader

” This module contains the abstract class defining the main interfaces and behaviors expected from a SubDataReader objects. The main purpose of such object is to modify and complete the input substructure data provided in the input file in order to adapt the syntax for Substructure object creation.

Classes

ABCReader

This is the abstract class ruling the reader class for substructure. The reader is responsible for reading, parsing and completing an input dictionary from a external file to comply with pyHarm.

Module Contents

class pyHarm.Substructures.SubDataReader.ABCReader.ABCReader

Bases: abc.ABC

This is the abstract class ruling the reader class for substructure. The reader is responsible for reading, parsing and completing an input dictionary from a external file to comply with pyHarm.

abstract property factory_keyword

Factory keyword to be used when instantiating a reader

abstractmethod data_complete(data: dict) dict

Reads and completes the input dictionary from the file.