Closed liuxiawei closed 6 days ago
We encapsulate the preprocessing step in pySTAGATE, and this error may be reported as a result of your secondary preprocessing's error.
Do you encounter the same error when using our example data?
Zehua
We encapsulate the preprocessing step in pySTAGATE, and this error may be reported as a result of your secondary preprocessing's error.
Do you encounter the same error when using our example data?
Zehua
Hi Zehua, Thanks for responese. I tried the example data. And the same error occurred. I tried to debug. I found the problem caused by code
adata.obs['X'] = adata.obsm['spatial'][:,0]
adata.obs['Y'] = adata.obsm['spatial'][:,1]
adata.obs
It caused adata.obs['X'] as NA. But I splited the code as two panel as following, the problem solved. It's very strange, but it solved .Thanks
Describe the bug When I use STAGATE and the error happed. The code I ran:
And I tried raw tools of STAGATE, it's all right:
Screenshots The data processed by Batch_Data was strange. The red line word was added for print. The error message:
Desktop (please complete the following information):