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

Save gene sets without cell annotations #84

Merged
merged 2 commits into from
Mar 2, 2024

Conversation

george-hall-ucl
Copy link
Contributor

This fixes a bug whereby new gene sets csv files created without accompanying cell-level annotations could not be detected by the filecrawler. Previously, the filecrawler only displayed csv files corresponding to cell-level annotations. This meant that if the user created a new gene set but no cell-level annotations then, whilst the gene-set csv would be saved, they could not be loaded from filecrawler.

Note; this commit also changes the behaviour when checking whether a file is a gene set. It now checks whether the file extension is self.gene_set_file_suffix (by default, _gene_sets.csv). This means that patterns such as foo_gene_sets_bar.csv will no longer count as a gene_sets file. I made this change for convenience here, but obviously please revert if you are worried that it will break things - it just seemed cleaner this way.

This fixes a bug whereby new gene_sets csv files created without
accompanying cell-level annotations could not be detected by the
filecrawler.
@alokito alokito self-assigned this Sep 11, 2023
@alokito alokito added the enhancement New feature or request label Sep 11, 2023
@alokito
Copy link
Member

alokito commented Sep 11, 2023

This looks good to me. I'll need to find time to do some manual testing and cut a release, hopefully will be sometime this week.

@alokito alokito merged commit 66cca86 into Novartis:master Mar 2, 2024
2 checks passed
@george-hall-ucl george-hall-ucl deleted the just_gene_sets branch March 4, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants