Skip to content

Commit

Permalink
make package name lowercase due to build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jrazi committed Apr 26, 2024
1 parent 19e0133 commit 78c5042
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
from numpy import ndarray
from KnockOffOrigins.decompose import CholeskyDecomposition, Decompose
from KnockOffOrigins.gram_matrix import (
from knockofforigins.decompose import CholeskyDecomposition, Decompose
from knockofforigins.gram_matrix import (
compute_gram_matrix,
generate_gram_matrix,
normalize_features,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ pylint = "^3.1.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"



2 changes: 1 addition & 1 deletion tests/test_data_gen.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import pytest
from KnockOffOrigins.data_gen import SyntheticDataGenerator, GWASDataGenerator
from knockofforigins.data_gen import SyntheticDataGenerator, GWASDataGenerator


class TestSyntheticDataGenerator:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_decompose.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import pytest
from KnockOffOrigins.decompose import CholeskyDecomposition
from knockofforigins.decompose import CholeskyDecomposition
from tests.helpers import generate_matrix


Expand Down
4 changes: 2 additions & 2 deletions tests/test_feature_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import numpy as np
import pytest
from sklearn.exceptions import ConvergenceWarning
from KnockOffOrigins.lasso import (
from knockofforigins.lasso import (
prepare_augmented_design_matrix,
fit_lasso,
compute_feature_importance,
)
from KnockOffOrigins.data_gen import (
from knockofforigins.data_gen import (
InfluentialFeatureGWASDataGenerator,
SyntheticDataGenerator,
)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_gram_matrix.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import numpy as np
import pytest
from KnockOffOrigins.gram_matrix import (
from knockofforigins.gram_matrix import (
normalize_features,
compute_gram_matrix,
generate_gram_matrix,
)
from KnockOffOrigins.data_gen import SyntheticDataGenerator, GWASDataGenerator
from knockofforigins.data_gen import SyntheticDataGenerator, GWASDataGenerator
import numpy as np
import pytest

Expand Down
8 changes: 4 additions & 4 deletions tests/test_knockoff_construct.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import numpy as np
import pytest
from KnockOffOrigins.data_gen import SyntheticDataGenerator, GWASDataGenerator
from KnockOffOrigins.decompose import CholeskyDecomposition
from KnockOffOrigins.gram_matrix import compute_gram_matrix, normalize_features
from KnockOffOrigins.knockoff_construct import (
from knockofforigins.data_gen import SyntheticDataGenerator, GWASDataGenerator
from knockofforigins.decompose import CholeskyDecomposition
from knockofforigins.gram_matrix import compute_gram_matrix, normalize_features
from knockofforigins.knockoff_construct import (
choose_s_vector,
generate_knockoff_features,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lasso.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import pytest
from sklearn.exceptions import ConvergenceWarning
from KnockOffOrigins.lasso import (
from knockofforigins.lasso import (
prepare_augmented_design_matrix,
fit_lasso,
compute_feature_importance,
Expand Down

0 comments on commit 78c5042

Please sign in to comment.