Teichlab / cellphonedb

MIT License
338 stars 105 forks source link

pandas.errors.ParserError in database generate #285

Closed jariwalask closed 3 years ago

jariwalask commented 3 years ago

I'm getting a pandas.errors.ParserError: Too many columns specified: expected 4 and found 1 when running cellphonedb database generate --fetch.

I also have a message Could not fetch remote source MatrixDB, using available backup, but that does not seem to be critical failing point.

Attached log file from the cellphonedb database generate --fetch run. cellphonedb_generate.txt

I've recently (2021-03-08) installed cellphonedb. Any suggested solutions or how to debug this?

prete commented 3 years ago

Hi @jariwalask from the log I think I2D was the source that failed for you. Sometimes pulling the data from original sources fails (because the source throws an error), am error is returned instead of data and CellPhoneDB fails to parse that thinking that's real data. This is usually temporary and the original source starts working the next day or short after.

I've tried generating the DB today and I did not get that error. Could you try again, please?

prete commented 3 years ago

Hi @jariwalask any updates on this? Were you able to generate the database?

jariwalask commented 3 years ago

Hi @prete, I have additional issue due to proxy on my end. You can go ahead and close this issue ... I'll re-open if I'm still facing issues in generating the database. Thanks

jariwalask commented 3 years ago

Hi @prete , would it be possible to update the db on the repo (maybe even on a quarterly basis) so folks facing similar issue can simply pull it from the repo? Thanks