Package install :: Package MoSTBioDat :: Package DataBase :: Package ImportData :: Package Data2DB :: Module PropZINC :: Class PropZINC
[hide private]
[frames] | no frames]

Class PropZINC

source code

                                          object --+        
                                                   |        
MoSTBioDat.DataBase.ImportData.Data2DB.DBFile.DBFile --+    
                                                       |    
MoSTBioDat.DataBase.ImportData.Data2DB.PropFile.PropFile --+
                                                           |
                                                          PropZINC

Property ZINC File parser INPUT: propfile - property file path, str, default=None dictpath - str - path to dictionary dictfilename - str - dictionary filename dbfile - str - database file path format - str - logging file format, default "%(levelname)s %(asctime)s %(ip)s %(username)s %(filename)s %(module)s %(funcName)s %(lineno)d >> %(message)s " filter - specified record to be logged datefmt - str - date format path - str - path to log files filename - str - log filename, default 'log' filemode - str - log file mode, default 'wa' level - str - logging level, default logging.DEBUG logfilelevel - log file level temporary - str - temporary directory OUTPUT: dictionary object

Instance Methods [hide private]
 
__init__(self, propfile=None, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
proParse(self, spacedelim='\t')
Property text file parser, first line - property definition INPUT: class object spacedelim - space delimiter specificator, default = ' ' OUTPUT:
source code
 
isfirstline(self, counter)
Check if line is first INPUT: counter - int OUTPUT: boolean
source code

Inherited from MoSTBioDat.DataBase.ImportData.Data2DB.DBFile.DBFile: closeDict, createdict, delAttrDict, delDictKey, findFile, getDict, getLength, insAttrDict, insertDict, openDict, retDict, shoValue, showDict, showDictKey, showPropTag, showPropTagonZINCode

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, propfile=None, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

proParse(self, spacedelim='\t')

source code 

Property text file parser, first line - property definition INPUT: class object spacedelim - space delimiter specificator, default = ' ' OUTPUT:

Overrides: MoSTBioDat.DataBase.ImportData.Data2DB.PropFile.PropFile.proParse