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 error message #7

Merged
merged 3 commits into from
Feb 19, 2021
Merged

improve error message #7

merged 3 commits into from
Feb 19, 2021

Conversation

yuhanH
Copy link
Collaborator

@yuhanH yuhanH commented Feb 19, 2021

pbmc_small
pbmc_small <- NormalizeData(pbmc_small)%>%FindVariableFeatures()%>%ScaleData()%>%RunPCA()
pbmc_small <- FindNeighbors(pbmc_small, dims = 1:30, return.neighbor = T)
pbmc_small <- FindNeighbors(pbmc_small, dims = 1:30, return.neighbor = F)

It changes the error message from

Error: This object already contains RNA_nn as a Neighbor; duplicate names are not allowed

to

Error: This object already contains RNA_nn as a Neighbor, so RNA_nn cannot be used for a Graph

@mojaveazure mojaveazure added the enhancement New feature or request label Feb 19, 2021
@mojaveazure mojaveazure merged commit 4de3d87 into develop Feb 19, 2021
@mojaveazure mojaveazure deleted the feat/duplicate_name branch February 19, 2021 19:54
@mojaveazure mojaveazure added this to the Next Release milestone Mar 19, 2021
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