theislab / multimil

Multimodal weakly supervised learning to identify disease-specific changes in single-cell atlases
https://multimil.rtfd.io/
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

Can't run .load_query_data() multiple times in a row #64

Open alitinet opened 1 year ago

alitinet commented 1 year ago

Cat cov shape mismatch if running .load_query_data() several times in a row without changing the ref model/ref adata.

HelloWorldLTY commented 4 weeks ago

Hi, I meet this error when loading the query data, and it is caused by the mismatched covariates between the training and testing data (like different diseases). I find a solution for it by modifying the codes in .load_query_data(). If you are interested in it, I can start a pull request.