097d08c81c5d01cc89ca2798954008cab3f28c7a,qcengine/programs/qcore.py,QcoreHarness,get_version,#QcoreHarness#,120

Before Change


        if which_prog not in self.version_cache:
            with popen([which_prog, "--version"]) as exc:
                exc["proc"].wait(timeout=15)
            self.version_cache[which_prog] = safe_version(exc["stdout"].split()[2])

        return self.version_cache[which_prog]

After Change


        if which_prog not in self.version_cache:
            import qcore

            self.version_cache[which_prog] = safe_version(qcore.__version__)

        return self.version_cache[which_prog]

    def compute(self, input_data: "AtomicInput", config: "TaskConfig") -> "AtomicResult":
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: MolSSI/QCEngine
Commit Name: 097d08c81c5d01cc89ca2798954008cab3f28c7a
Time: 2020-10-11
Author: dgasmith@icloud.com
File Name: qcengine/programs/qcore.py
Class Name: QcoreHarness
Method Name: get_version


Project Name: MolSSI/QCEngine
Commit Name: 0003e408505b4634961af84c1bd0f1503fe92f95
Time: 2020-07-30
Author: lori.burns@gmail.com
File Name: qcengine/programs/qchem.py
Class Name: QChemHarness
Method Name: get_version


Project Name: MolSSI/QCEngine
Commit Name: 9304f141bc2b51e43fb29a5fe784b53ff798f8fa
Time: 2019-06-04
Author: fangliu.ustc@gmail.com
File Name: qcengine/programs/terachem.py
Class Name: TeraChemHarness
Method Name: get_version