Skip to content

Commit

Permalink
Make sure fingerprint matrix is ndarray
Browse files Browse the repository at this point in the history
  • Loading branch information
eachanjohnson committed Oct 11, 2024
1 parent e86e39c commit 9b95071
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion schemist/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def calculate_fingerprints(
for fp_string in fp_strings)
fingerprints = [';'.join(fp) for fp in fingerprints]
validity = [len(fp) > 0 for fp in fingerprints]
feature_matrix = fingerprints
feature_matrix = np.asarray(fingerprints)

else:

Expand Down

0 comments on commit 9b95071

Please sign in to comment.