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

first draft script to get counts to use for evaluation #160

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elray1
Copy link
Collaborator

@elray1 elray1 commented Nov 15, 2024

No description provided.

@elray1
Copy link
Collaborator Author

elray1 commented Nov 19, 2024

See also https://github.com/reichlab/variant-nowcast-hub/blob/bsweger/sample-target-data-script/src/sample_get_target_data.py -- we should see what ideas we can borrow from there!

logger.info("get clade counts")
counts = assignments.summary.collect()

output_file = data_dir / f"{str(reference_date)}_covid_clade_counts.parquet"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Double-checking the file format here: if there's any value to providing this time series in human-readable format, it's likely small enough to output as a .csv.

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