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

Unknown key-value pair handling has been added #72

Merged
merged 4 commits into from
May 13, 2024
Merged

Conversation

ubyndr
Copy link
Collaborator

@ubyndr ubyndr commented May 13, 2024

{"unknown": "unknown"} pair will be removed from seed dict and replaced by {"C::0000000": "cell"} pair to cover very rare issue within CxG datasets. Example datasets are https://cellxgene.cziscience.com/e/35081d47-99bf-4507-9541-735428df9a9f.cxg/ and https://cellxgene.cziscience.com/e/3a15ab1c-c36c-4842-9a3e-47e6ffd0ba6f.cxg/

image
image

@ubyndr ubyndr requested a review from hkir-dev May 13, 2024 14:10
# "unknown" patch
if "unknown" in self.seed_dict:
del self.seed_dict["unknown"]
self.seed_dict["C::0000000"] = "cell"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be CL:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we consider case insensitive search of unknown

@ubyndr ubyndr merged commit bcad34d into main May 13, 2024
@ubyndr ubyndr deleted the unknown-patch branch May 13, 2024 14:42
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.

2 participants