def __init__(self, qmapperinstance, semaphore, mapdir, supress_info): threading.Thread.__init__(self) self.qm = qmapperinstance self.semaphore = semaphore self.mapdir = mapdir self.qfep = QFep(qmapperinstance._qfep.qfep_exec) self.supress_info = supress_info self.qinp = None self.qout = None self.error = None
def __init__(self, qfep_exec, mapdirs, en_list_fn, hij, alpha, temperature, gas_const, points_skip, gap_bins, minpts_bin, nthreads): self._en_list_fn = en_list_fn self._qfep = QFep(qfep_exec) self._mapdirs = [os.path.relpath(m) for m in mapdirs] self._nthreads = nthreads self.parms = {"hij": hij, "alpha": alpha, "temperature": temperature, "gas_const": gas_const, "points_skip": points_skip, "gap_bins": gap_bins, "minpts_bin": minpts_bin} self.mapped = ODict() self.failed = ODict() self.kill_event = threading.Event()