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

Bugfix for one gene being passed to score_genes #1398

Merged
merged 4 commits into from Dec 4, 2020

Conversation

ivirshup
Copy link
Member

Fixes #1395

It looks like this code was originally added for dealing with the automatic flattening of X when indices had length 1. I also made it an error if there were no genes to score. Arguably it should be an error if any of the passed genes are missing.

@ivirshup ivirshup added the Maint – Backport needed Needs back porting for bugfix release label Sep 1, 2020
@ivirshup
Copy link
Member Author

ivirshup commented Dec 4, 2020

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivirshup
Copy link
Member Author

ivirshup commented Dec 4, 2020

/AzurePipelines help

@azure-pipelines
Copy link

Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@ivirshup ivirshup merged commit d205474 into scverse:master Dec 4, 2020
@ivirshup ivirshup removed the Maint – Backport needed Needs back porting for bugfix release label Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

score_genes throws AttributeError if len(gene_list) = 1 and raw is present
1 participant