7b460bf16fd95ff33122ee71fe72451f82a4bc15,Python/doc/source/conf.py,,,#,22

Before Change


//
import os
import sys
sys.path.insert(0, os.path.abspath("../.."))
// print(sys.path)

// -- General configuration ------------------------------------------------

After Change


//
import os
import sys
root_dir = os.path.abspath(os.path.join(os.path.dirname(
    __file__), "..", ".."))
sys.path.insert(0, root_dir)
// print(sys.path)

// -- General configuration ------------------------------------------------

// If your documentation needs a minimal Sphinx version, state it here.
//
// needs_sphinx = "1.0"

// Add any Sphinx extension module names here, as strings. They can be
// extensions coming with Sphinx (named "sphinx.ext.*") or your custom
// ones.
extensions = ["sphinx.ext.autodoc",
              "sphinx.ext.autosummary",
              "sphinx.ext.napoleon",
              "sphinx.ext.doctest",
              "sphinx.ext.coverage",
              "sphinx.ext.viewcode"]

// Add any paths that contain templates here, relative to this directory.
templates_path = ["ytemplates"]

// The suffix(es) of source filenames.
// You can specify multiple suffix as a list of string:
//
// source_suffix = [".rst", ".md"]
source_suffix = ".rst"

// The master toctree document.
master_doc = "index"

// General information about the project.
project = "PHATE"
copyright = "2017 Krishnaswamy Lab, Yale University"
author = "Daniel Burkhardt, Krishnaswamy Lab, Yale University"

// The version info for the project you"re documenting, acts as replacement for
// |version| and |release|, also used in various other places throughout the
// built documents.
version_py = os.path.join(root_dir, "phate", "version.py")
// The full version, including alpha/beta/rc tags.
release = open(version_py).read().strip().split(
    "=")[-1].replace(""", "").strip()
// The short X.Y version.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: KrishnaswamyLab/PHATE
Commit Name: 7b460bf16fd95ff33122ee71fe72451f82a4bc15
Time: 2019-03-06
Author: scottgigante@gmail.com
File Name: Python/doc/source/conf.py
Class Name:
Method Name:


Project Name: neurosynth/neurosynth
Commit Name: 9de1a50ff5c3fd3848a7bc7f14ac8b4d7cc8e34a
Time: 2017-06-23
Author: tsalo006@fiu.edu
File Name: neurosynth/analysis/reduce.py
Class Name:
Method Name: run_lda


Project Name: rtavenar/tslearn
Commit Name: 3d4ebac7f4bf9ef3b04f778196bcb1a6134a08ed
Time: 2017-05-09
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/docs/conf.py
Class Name:
Method Name: