Skip to content

Hello, it's a great tool, but I ran the code according to the example provided on the official website and encountered the following error. How can I solve it #8

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

Open
lemondll opened this issue Apr 17, 2025 · 0 comments

Comments

@lemondll
Copy link

adata = STCAT.STCAT(adata)
🧮 T cell number : 2977
🧮 None T cell number : 0
💬 The input file seems not a raw count matrix.
✔ All genes and log1p normalized expression to 10000 counts per cell.
🔬 Input data has 2977 cells and 31584 genes
🔗 Matching reference genes in the model
🧬 3122 features used for prediction
⚖️ Scaling input data
🖋️ Predicting labels
✅ Prediction done!
👀 Can not detect a neighborhood graph, will construct one before the over-clustering
⛓️ Over-clustering input data with resolution set to 1
🗳️ Majority voting the predictions
✅ Majority voting done!
⚡ Process of CD4
⚡ Process of CD8
Traceback (most recent call last):
File "", line 1, in
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\site-packages\STCAT\STCAT.py", line 310, in STCAT
adata_T_sub_CD4, adata_T_sub_CD8 = start_processes()
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\site-packages\STCAT\STCAT.py", line 302, in start_processes
p1.start()
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\process.py", line 121, in start
self._popen = self._Popen(self)
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\context.py", line 327, in _Popen
return Popen(process_obj)
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\popen_spawn_win32.py", line 93, in init
reduction.dump(process_obj, to_child)
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'STCAT..process_CD4'

Traceback (most recent call last):
File "", line 1, in
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\software\Annaconda\envs\STCAT_Tcell_autoanno\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input

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

1 participant