From a627664b95abf91564b0e2e2cdc8b4d60b74c428 Mon Sep 17 00:00:00 2001 From: bbaranow Date: Sun, 3 Nov 2024 15:04:58 +0100 Subject: [PATCH] fix misspelling error --- .github/workflows/{build-lmnb.yml => build-laplaciannb.yml} | 0 examples/bayes_tutorial.ipynb | 2 +- src/{laplacianb => laplaciannb}/LaplacianNB.py | 0 src/{laplacianb => laplaciannb}/__init__.py | 0 tests/bayes_test.py | 6 +++--- 5 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{build-lmnb.yml => build-laplaciannb.yml} (100%) rename src/{laplacianb => laplaciannb}/LaplacianNB.py (100%) rename src/{laplacianb => laplaciannb}/__init__.py (100%) diff --git a/.github/workflows/build-lmnb.yml b/.github/workflows/build-laplaciannb.yml similarity index 100% rename from .github/workflows/build-lmnb.yml rename to .github/workflows/build-laplaciannb.yml diff --git a/examples/bayes_tutorial.ipynb b/examples/bayes_tutorial.ipynb index 12c00f0..001bc70 100644 --- a/examples/bayes_tutorial.ipynb +++ b/examples/bayes_tutorial.ipynb @@ -60,7 +60,7 @@ "metadata": {}, "outputs": [], "source": [ - "from laplacianb.LaplacianNB import LaplacianNB" + "from laplaciannb.LaplacianNB import LaplacianNB" ] }, { diff --git a/src/laplacianb/LaplacianNB.py b/src/laplaciannb/LaplacianNB.py similarity index 100% rename from src/laplacianb/LaplacianNB.py rename to src/laplaciannb/LaplacianNB.py diff --git a/src/laplacianb/__init__.py b/src/laplaciannb/__init__.py similarity index 100% rename from src/laplacianb/__init__.py rename to src/laplaciannb/__init__.py diff --git a/tests/bayes_test.py b/tests/bayes_test.py index 90af12d..5264936 100644 --- a/tests/bayes_test.py +++ b/tests/bayes_test.py @@ -5,7 +5,7 @@ import pandas as pd from numpy.testing import assert_array_equal -from laplacianb.LaplacianNB import LaplacianNB +from laplaciannb.LaplacianNB import LaplacianNB def test_bayes(): @@ -43,7 +43,7 @@ def test_rdkit(): from rdkit import Chem from rdkit.Chem import AllChem - from src.laplacianb.LaplacianNB import LaplacianNB + from src.laplaciannb.LaplacianNB import LaplacianNB def get_fp(smiles: str) -> set: """Function to calculate MorganFingerprint from smiles. @@ -80,7 +80,7 @@ def test_joint_log_likelihood(): from rdkit import Chem from rdkit.Chem import AllChem - from src.laplacianb.LaplacianNB import LaplacianNB + from src.laplaciannb.LaplacianNB import LaplacianNB def get_fp(smiles: str) -> set: """Function to calculate MorganFingerprint from smiles.