Skip to content

Bug in cf.predict #284

@grpinto

Description

@grpinto

Report

@selmanozleyen

There is a bug when we try to run cf.predict because :

pert covar key == condition_id_key

As a workaround we had to create a new column in both adata and covariate_data with the key. This also happened when computing the embeddings. The bug is probably here bc we try to set an index twice or something similar

if condition_id_key is not None:

I will create a reproducable unit test and fix this

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions