Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #38

Merged
merged 14 commits into from
Jun 30, 2024
Merged

Develop #38

merged 14 commits into from
Jun 30, 2024

Conversation

bputzeys
Copy link
Collaborator

No description provided.

@bputzeys bputzeys marked this pull request as ready for review June 28, 2024 16:19
gitpython==3.1.43
torch==2.3.0
torchvision==0.18.0
accelerate==0.29.3
transformers==4.26.1
loompy==3.0.7
scib==1.1.5
scikit-misc==0.3.1
Copy link
Collaborator Author

@bputzeys bputzeys Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed because 0.4.0 has an issue for apple silicon
has2k1/scikit-misc#37

@@ -3,13 +3,15 @@ pandas==2.2.2
anndata==0.10.7
numpy==1.26.4
scikit-learn==1.2.2
scipy==1.13.1
Copy link
Collaborator Author

@bputzeys bputzeys Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 1.14.0 (which got released a few days ago) caused the following error:

    data = scgpt.process_data(adata[:10])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "helical/helical/models/scgpt/model.py", line 203, in process_data
    count_matrix = (adata.X if isinstance(adata.X, np.ndarray) else adata.X.A)
                                                                    ^^^^^^^^^
AttributeError: 'SparseCSRView' object has no attribute 'A'

@maxiallard maxiallard merged commit 4ddf2bf into main Jun 30, 2024
1 check passed
@bputzeys bputzeys deleted the develop branch July 3, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants