From 7b354202fd2376866204ae4d80387f681e566e73 Mon Sep 17 00:00:00 2001
From: David Luevano <55825613+luevano@users.noreply.github.com>
Date: Sat, 1 Feb 2020 12:53:52 -0700
Subject: Add bag of stuff

---
 ml_exp/bob.py     |  2 +-
 ml_exp/bostuff.py | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 ml_exp/bostuff.py

diff --git a/ml_exp/bob.py b/ml_exp/bob.py
index 0d31face0..5f45019a0 100644
--- a/ml_exp/bob.py
+++ b/ml_exp/bob.py
@@ -51,7 +51,7 @@ def bob(c_matrix,
     max_len: maximum amount of bonds in molecule.
     """
     n = len(atoms)
-    bond_n = (n*n-n)/2+n
+    bond_n = (n * n - n) / 2 + n
     n_r = range(n)
 
     if max_bond_len < bond_n:
diff --git a/ml_exp/bostuff.py b/ml_exp/bostuff.py
new file mode 100644
index 000000000..48cd14913
--- /dev/null
+++ b/ml_exp/bostuff.py
@@ -0,0 +1,22 @@
+"""MIT License
+
+Copyright (c) 2019 David Luevano Alvarado
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+"""
-- 
cgit v1.2.3-70-g09d2