Belle II Software  release-06-02-00
LocalDatabase Class Reference
Collaboration diagram for LocalDatabase:

Public Member Functions

def __init__ (self, filepath, payload_dir='')
 

Public Attributes

 filepath
 
 payload_dir
 

Static Public Attributes

string db_type = "local"
 

Detailed Description

Simple class to hold the information about a basf2 Local database.
Does a bit of checking that the file path entered is valid etc.

Paramters:
    filepath (str): The file path of the database.txt file of the localdb

Keyword Arguments:
    payload_dir (str): If the payload directory is different to the directory containing the filepath, you can set it here.

Definition at line 215 of file utils.py.


The documentation for this class was generated from the following file: