From 1632fbccf133e3da514778e6c10b467ab79ba0a6 Mon Sep 17 00:00:00 2001 From: himaghna Date: Fri, 4 Feb 2022 14:04:51 -0800 Subject: [PATCH 1/2] PEP8 formatting changes --- AIMSim/ops/clustering.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AIMSim/ops/clustering.py b/AIMSim/ops/clustering.py index 55e0fc17..f0fa22cc 100644 --- a/AIMSim/ops/clustering.py +++ b/AIMSim/ops/clustering.py @@ -14,8 +14,8 @@ class Cluster: for the K-Medoids algorithm [1]. This method is useful when the molecular descriptors are continuous / Euclidean since it relies on the existence of a sensible medoid. - 'complete_linkage', 'complete': complete linkage agglomerative - hierarchical clustering [2]. + 'complete_linkage', 'complete': + Complete linkage agglomerative hierarchical clustering [2]. 'average_linkage', 'average': average linkage agglomerative hierarchical clustering [2]. 'single_linkage', 'single': From dddf201900156fd28d2261027ef92b8d929429bf Mon Sep 17 00:00:00 2001 From: himaghna Date: Fri, 4 Feb 2022 14:09:00 -0800 Subject: [PATCH 2/2] Correct PEP8 formatting --- docs/conf.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7eed6ab4..42701b37 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,20 +13,21 @@ import os import codecs import sys -sys.path.insert(0, os.path.abspath('.')) -sys.path.insert(0, os.path.abspath('..')) - -# -- Project information ----------------------------------------------------- +import AIMSim -import AIMSim +sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('..')) +# -- Project information ----------------------------------------------------- project = 'AIMSim' copyright = '2022, Jackson Burns, Himaghna Bhattacharjee' author = 'Jackson Burns, Himaghna Bhattacharjee' # The full version, including alpha/beta/rc tags + + def read(rel_path): """ """ @@ -55,7 +56,7 @@ def skip(app, what, name, obj, would_skip, options): def setup(app): app.connect("autodoc-skip-member", skip) - + release = get_version("../AIMSim/__init__.py")