pySCENIC icon indicating copy to clipboard operation
pySCENIC copied to clipboard

pyscenic ctx Error: pandas.errors.ParserError: Could not construct index. Requested to use 2 number of columns, but 3 left to parse

Open zhrmxxs opened this issue 1 year ago • 2 comments

Hello pyscenic team, I am experiencing an error while running pyscenic ctx: 'pandas.errors.ParserError: Could not construct index. Requested to use 2 number of columns, but 3 left to parse.' The code I run is as follows: pyscenic ctx \ test_adj.sample.tsv \ maize.regions_vs_motifs.rankings.feather \ --annotations_fname maize.tbl \ --expression_mtx_fname test.loom \ --mode "dask_multiprocessing" \ --output test_regulon.csv \ --num_workers 3 \ --mask_dropouts

I have checked the corresponding input file and can't find any errors.

zhrmxxs avatar Nov 19 '23 08:11 zhrmxxs

'pandas.errors.ParserError: Could not construct index. Requested to use 2 number of columns, but 3 left to parse' is the middle error and the final error is 'pyscenic.cli.pyscenic - ERROR - No columns to parse from file'

zhrmxxs avatar Nov 19 '23 08:11 zhrmxxs

Very likely, one of your input files is not formatted properly at a certain line.

ghuls avatar Dec 12 '23 10:12 ghuls