Exemplo n.º 1
0
 def __init__(self, db_reader="default"):
     super().__init__()
     if db_reader == "default":
         self.db_reader = dbreader.Reader()
     else:
         logging.debug(f"Remark! db_reader: {db_reader}")
         self.db_reader = db_reader
     self.batch_col = "b01"
Exemplo n.º 2
0
def db_reader():
    from cellpy.readers import dbreader
    from cellpy.parameters import prms
    prms.Paths["outdatadir"] = fdv.output_dir
    prms.Paths["rawdatadir"] = fdv.raw_data_dir
    prms.Paths["cellpydatadir"] = fdv.cellpy_data_dir
    prms.Paths["db_path"] = fdv.db_dir
    prms.Paths["db_filename"] = fdv.db_file_name
    return dbreader.Reader()
Exemplo n.º 3
0
def clean_db_reader():  # remove this?
    from cellpy.readers import dbreader

    return dbreader.Reader()