Open yupingz opened 6 years ago
I ran into the same error. Minimal example to reproduce:
import mnnpy
import scanpy.api as sc
sc.logging.print_versions()
adata1 = sc.datasets.blobs()
adata2 = sc.datasets.blobs()
mnnpy.mnn_correct(adata1, adata2, cos_norm_out=False)
When lookiing at utils.py
it becomes clear that out_batches
is not assigned in the function transform_input_data
. I'm just not sure what should be assigned to out_batches
in that case. I sit just out_batches = datas
?
I have the same problem. Did anyone find a solution yet?
I think they just forgot to add one line (based on my understanding of the code and the MNN code in R). I created a fork with the corrected code, it can be found here: https://github.com/LisaSikkema/mnnpy