def experiment1(outdir): odir = "{}/experiment1".format(outdir) if not os.path.isdir(odir): os.mkdir(odir) out = "{}/{}.db".format(odir, sqliteOut(False)) client = startRtaClient(out) client.join()
def experiment2(outdir): odir = "{}/experiment2".format(outdir) if not os.path.isdir(odir): os.mkdir(odir) out = "{}/{}.db".format(odir, sqliteOut(True)) sepOut = "{}/{}_sep.csv".format(odir, sqliteOut(True)) rtaClient = startRtaClient(out) sepClient = startSepClient(False, sepOut) rtaClient.join() sepClient.join()