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

Handling primary vs. secondary data products WRT matches and selections #258

Open
MrCreosote opened this issue Apr 13, 2023 · 0 comments
Open

Comments

@MrCreosote
Copy link
Member

This is less of a bug and more of a place to document something that might be an issue in the future.

Currently there are effectively two classes of data products, "primary" (currently only genome_attribs) and "secondary" (currently taxa_count and microtrait [or any other heatmap data products that use heatmap.py]). Primary data products are coded such that they assume they are always matched against first (and thus never need to run a secondary process after the user-started match process is complete) and the same for selections. Secondary data products always assume the match / selection is complete in the primary data product (and will throw an error if it's not) and then start a new process to do their own processing for a match or selection.

If we need a primary to act like a secondary or vice versa, it could be a lot of work to make that happen. It's not clear that's ever going to be an issue though...

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

No branches or pull requests

1 participant