c4c62503da100cbf491a761998c04d5e0db42413,qcengine/programs/nwchem/harvester.py,,harvest_hessian,#Any#,663

Before Change


    Hess file name has to be "nwchem.hess". (default)

    
    raise NotImplementedError()


def extract_formatted_properties(psivars: PreservingDict) -> AtomicResultProperties:
    Get named properties out of the general variables extracted out of the result file

After Change


    hess_conv = hess.replace("D", "E")

    // Parse all of the float values
    hess_triu = [float(x) for x in hess_conv.strip().splitlines()]

    // The value in the Hessian matrix is the upper triangle
    //  We first convert it to a 2D array
    n = int(np.sqrt(8 * len(hess_triu) + 1) - 1) // 2  // Size of the 2D matrix
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: MolSSI/QCEngine
Commit Name: c4c62503da100cbf491a761998c04d5e0db42413
Time: 2019-12-29
Author: ward.logan.t@gmail.com
File Name: qcengine/programs/nwchem/harvester.py
Class Name:
Method Name: harvest_hessian


Project Name: pyannote/pyannote-audio
Commit Name: ac2d009eb407b03bc29df68a9ec7792878ae3eaf
Time: 2016-11-23
Author: bredin@limsi.fr
File Name: scripts/speaker_embedding.py
Class Name:
Method Name: test


Project Name: pyannote/pyannote-audio
Commit Name: ac2d009eb407b03bc29df68a9ec7792878ae3eaf
Time: 2016-11-23
Author: bredin@limsi.fr
File Name: scripts/speaker_embedding.py
Class Name:
Method Name: tune