Skip to content
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

Improve AUCell error messages when loading an empty regulons file #133

Closed
cflerin opened this issue Feb 10, 2020 · 0 comments
Closed

Improve AUCell error messages when loading an empty regulons file #133

cflerin opened this issue Feb 10, 2020 · 0 comments
Assignees
Labels
aucell enhancement New feature or request

Comments

@cflerin
Copy link
Contributor

cflerin commented Feb 10, 2020

Currently, when the regulons file is empty:

,,Enrichment,Enrichment,Enrichment,Enrichment,Enrichment,Enrichment,Enrichment,Enrichment
,,AUC,NES,MotifSimilarityQvalue,OrthologousIdentity,Annotation,Context,TargetGenes,RankAtMax
TF,MotifID,,,,,,,,

AUCell (CLI) fails with:

2020-02-10 14:04:37,880 - pyscenic.cli.pyscenic - INFO - Loading expression matrix.

2020-02-10 14:04:37,897 - pyscenic.cli.pyscenic - INFO - Loading gene signatures.

2020-02-10 14:04:37,907 - pyscenic.cli.pyscenic - ERROR - Cannot set a frame with no defined index and a value that cannot be converted to a Series
Create regulons from a dataframe of enriched features.
Additional columns saved: []

It would be helpful to have a more descriptive error

@cflerin cflerin added enhancement New feature or request aucell labels Feb 10, 2020
@cflerin cflerin self-assigned this Feb 10, 2020
cflerin added a commit that referenced this issue May 28, 2020
@cflerin cflerin mentioned this issue Jul 17, 2020
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aucell enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant