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

Fix Data related Warning #78

Open
martinrohbeck opened this issue Jul 1, 2023 · 0 comments
Open

Fix Data related Warning #78

martinrohbeck opened this issue Jul 1, 2023 · 0 comments
Assignees

Comments

@martinrohbeck
Copy link
Collaborator

Running

# Afterwards, we need to add the data
model.add_data(data=mdata)

raises
/home/m015k/code/cellij/cellij/core/_factormodel.py:251: FutureWarning: Passing 'suffixes' which cause duplicate columns {'T6_x', 'T5_x', 'treatedAfter_x', 'Gender_x', 'IGHV_x', 'Diagnosis_x', 'ConsClust_x', 'died_x', 'IC50beforeTreatment_x', 'Age4Main_x'} in the result is deprecated and will raise a MergeError in a future version.

coming from some suffixes. See code line

anndata_object.obs = anndata_object.obs.merge(

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

No branches or pull requests

2 participants