kuanrongchan / STAGES

30 stars 7 forks source link

ValueError on Preprocessing tab #19

Open esiefker opened 4 months ago

esiefker commented 4 months ago

After uploading data and receiving "no errors detected", Preprocessing fails with this error

File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script exec(code, module.dict) File "/mount/src/stages/pages/02_Pre-processing.py", line 97, in adata = AnnData(expr_obj, obs = meta_obj, dtype='float32') # expr data should be genes in cols, subjects in rows, obs should be the same File "/home/adminuser/venv/lib/python3.9/site-packages/anndata/_core/anndata.py", line 362, in init self._init_as_actual( File "/home/adminuser/venv/lib/python3.9/site-packages/anndata/_core/anndata.py", line 545, in _init_as_actual self._obs = _gen_dataframe( File "/usr/local/lib/python3.9/functools.py", line 888, in wrapper return dispatch(args[0].class)(*args, **kw) File "/home/adminuser/venv/lib/python3.9/site-packages/anndata/_core/anndata.py", line 180, in _gen_dataframe_df raise _mk_df_error(source, attr, length, len(anno))

kuanrongchan commented 4 months ago

Hi:

Mind sending us the dataset for us to analyse the problem?

Best regards Kuan Rong

Chan Kuan Rong, PhD | Senior Principal Research Scientist, Emerging Infectious Diseases | Duke-NUS Medical School | Tel: 65 90058277 | 8 College Road, Singapore 169857 | kuanrongchan.comhttp://kuanrongchan.com


From: esiefker @.> Sent: Friday, March 8, 2024 1:28 AM To: kuanrongchan/STAGES @.> Cc: Subscribed @.***> Subject: [kuanrongchan/STAGES] ValueError on Preprocessing tab (Issue #19)

    - External Email -

After uploading data and receiving "no errors detected", Preprocessing fails with this error

File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script exec(code, module.dict) File "/mount/src/stages/pages/02_Pre-processing.py", line 97, in adata = AnnData(expr_obj, obs = meta_obj, dtype='float32') # expr data should be genes in cols, subjects in rows, obs should be the same File "/home/adminuser/venv/lib/python3.9/site-packages/anndata/_core/anndata.py", line 362, in init self._init_as_actual( File "/home/adminuser/venv/lib/python3.9/site-packages/anndata/_core/anndata.py", line 545, in _init_as_actual self._obs = _gen_dataframe( File "/usr/local/lib/python3.9/functools.py", line 888, in wrapper return dispatch(args[0].class)(*args, **kw) File "/home/adminuser/venv/lib/python3.9/site-packages/anndata/_core/anndata.py", line 180, in _gen_dataframe_df raise _mk_df_error(source, attr, length, len(anno))

— Reply to this email directly, view it on GitHubhttps://ddec1-0-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fkuanrongchan%2fSTAGES%2fissues%2f19&umid=56520ffe-1c4d-4b0b-86e8-b98dfe1b426e&auth=3eee6d57317a38631073652579c10dc620ca2b41-66e49baa68bd4e8227914db8d8d2fe99ddb21ee4, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVYMKCK6BXDKYAWLGIWKNOLYXCPS7AVCNFSM6AAAAABELNJRVOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TIMZXGY3TEMI. You are receiving this because you are subscribed to this thread.Message ID: @.***>


Important: This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately; you should not copy or use it for any purpose, nor disclose its contents to any other person. Thank you.