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

Colab error when running setup_anndata() #15

Closed
znavidi opened this issue Jun 5, 2023 · 3 comments · Fixed by #26
Closed

Colab error when running setup_anndata() #15

znavidi opened this issue Jun 5, 2023 · 3 comments · Fixed by #26
Assignees

Comments

@znavidi
Copy link

znavidi commented Jun 5, 2023

Hi,

When I run the CPA colab tutorial, in the following line:

cpa.CPA.setup_anndata(adata,
perturbation_keys={
'perturbation': 'condition',
'dosage': 'dose_val',
},
categorical_covariate_keys=['cell_type'],
control_key='control',
)

the below error occures in both tutorial:

TypeError: CategoricalDataFrameField.init() got an unexpected keyword argument 'obs_key'

I would appreciate any help to be able to run it.

@M0hammadL
Copy link
Member

Hi Zeinab, thanks for your interest; we are updating the code and adding new tutorials. Hopefully, we will have the next update by the end of the week or early next week.

@znavidi
Copy link
Author

znavidi commented Jun 5, 2023

Thanks a lot for your prompt reply! Looking forward to it!

@sumeer1
Copy link

sumeer1 commented Jun 11, 2023

@M0hammadL Hi,

Is there any update on this? I am getting the same error.

@shyaman shyaman mentioned this issue Jun 29, 2023
Naghipourfar added a commit that referenced this issue Aug 31, 2023
…ning techniques added

- Mixup added
- Documentation added for most of functions
- Tutorial notebooks for Combo Sci-plex and Norman et al. updated
- FocalLoss added for adversarial training
- More efficient pre-processing algorithm added
- unnecessary methods removed
- GSM notebook removed
- dependencies has been updated
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 a pull request may close this issue.

5 participants