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
allow multiple npz key names #90
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only util function that may need to load data? Is X
ever loaded? This looks good to me, I just want to make sure we're not missing other cases where the array name matters.
Yes, currently this is the only function that loads NPZ files, and currently we don't load the X data from the corrected NPZs, only the y. |
Any idea why coveralls keeps seeing random fluctuations in coverage for the data_loader? |
The tests for the data_loader chooses randomly from a list of possible data types/specs (e.g. "all", "None", "HEK293", etc" at multiple levels of the ontology). It's likely that this is the source of the stochasticity - something that could be addressed with better tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Some of the old NPZ files were generated with (raw, annotated) keys. The newer NPZs have been standardized to to (X, y). This PR modifies the toolbox to accept either input so that manual renaming isn't necessary