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

Parse NAs when reading in json files #524

Merged
merged 4 commits into from
Oct 26, 2023
Merged

Conversation

allyhawkins
Copy link
Member

When processing projects with v0.6.0, I noticed that projects that don't contain a submitter cell types file were throwing an error when trying to find the submitter cell types file designated as NA. This is because if we skip mapping, we read in the meta from scpca-meta.json, rather than using the meta object we create from scpca-library-metadata.tsv. We had previously only been handling the NAs when reading in the metadata file, not the json file. This PR makes the fix to handle NA's when reading in json too.

I tested this with a run that doesn't have a submitter cell types file and it worked successfully. I also am filing this to main, because I want to create a new release with these changes only. I will file the same PR to the development branch to keep things in sync after this is approved.

@allyhawkins allyhawkins requested a review from jashapiro October 26, 2023 16:23
Copy link
Member

@jashapiro jashapiro left a comment

Choose a reason for hiding this comment

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

LGTM!

@allyhawkins allyhawkins merged commit ed9b3d4 into main Oct 26, 2023
allyhawkins added a commit that referenced this pull request Oct 26, 2023
@allyhawkins allyhawkins deleted the allyhawkins/parse-NA branch October 26, 2023 18:06
@allyhawkins allyhawkins mentioned this pull request Oct 30, 2023
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