reader

Module for reader abstract class

class MDMC.readers.reader.Reader(file_name: str)[source]

Abstract class that defines methods common to all readers

Parameters

file_name (str) – name of file to read

abstract parse(**settings: dict) None[source]

Parses the file data so that it is in a format expected by the class calling the data reader

For readers which are not specific to one data type, the calling class must be determined so that the file data can be parsed into the appropriate data type.

Parameters

**settings (dict) – dictionary of settings for reader