Package biana :: Package BianaParser :: Module GenericParser :: Class GenericParser
[hide private]
[frames] | no frames]

Class GenericParser

source code


Generic Parser Class

Instance Methods [hide private]
 
__init__(self)
Starts the bianaParser Object
source code
 
parse_database(self)
Method that implements the specific operations of a general tabulated file
source code

Inherited from bianaParser.BianaParser: add_to_log, close, get_log_string, initialize_input_file_descriptor, parseArguments, print_help, start

Inherited from bianaParser.BianaParser (private): _indent, _splitsize

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  name = 'generic'
  description = 'This file implements a program that fills up ta...
  external_entity_definition = ''
  external_entity_relations = ''
  mandatory_columns = Set(['type', 'id'])
  mandatory_relation_columns = Set(['interactor_id_list', 'type'...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Starts the bianaParser Object

Overrides: object.__init__
(inherited documentation)

parse_database(self)

source code 

Method that implements the specific operations of a general tabulated file

Overrides: bianaParser.BianaParser.parse_database

Class Variable Details [hide private]

description

Value:
'This file implements a program that fills up tables in BIANA database\
 from data in a tabulated file'

mandatory_relation_columns

Value:
Set(['interactor_id_list', 'type', 'id'])