8c4162c3666a2b238b2b60c3f94bb8102c4ef6cf,pysb/kappa.py,,set_kappa_path,#,35

Before Change


        // Make sure file has executable permissions
        elif not os.access(kappa_prog_path, os.X_OK):
            raise Exception("%s in %s does not have executable permissions." %
                            (kappa_prog, os.path.abspath(dir)))


def _get_bng_path():

After Change



    // Check KaSa, but only raise a warning if it"s not found because it"s
    // not installed by default with the KaSim distribution.
    if kasa_path is None:
        warnings.warn("Could not find KaSa in %s; install KaSa for static "
                      "analysis features." % os.path.abspath(dir))
    else:
        _kasa_path = kasa_path

def _get_kappa_path(kappa_prog):
    
    Return the path to the KaSim or KaSa executable.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pysb/pysb
Commit Name: 8c4162c3666a2b238b2b60c3f94bb8102c4ef6cf
Time: 2016-04-05
Author: bachmanjohn@gmail.com
File Name: pysb/kappa.py
Class Name:
Method Name: set_kappa_path


Project Name: rasbt/mlxtend
Commit Name: 3f22f6a494c528be14e847ca1244cfeae81a5929
Time: 2017-12-21
Author: guillaumepoiriermorency@gmail.com
File Name: mlxtend/plotting/decision_regions.py
Class Name:
Method Name: plot_decision_regions


Project Name: kymatio/kymatio
Commit Name: 3c66201aa935b9977c426726d57fe412e97c65c2
Time: 2020-01-23
Author: janden@flatironinstitute.org
File Name: kymatio/scattering3d/backend/backend_skcuda.py
Class Name:
Method Name: cdgmm3d