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

Clean up test data generation #16

Merged
merged 3 commits into from
Mar 19, 2024
Merged

Clean up test data generation #16

merged 3 commits into from
Mar 19, 2024

Conversation

delucchi-cmu
Copy link
Contributor

Re-generates local and cloud data for recent changes to on-disk data.

Tidies up some of the pytest fixtures while I'm in there.

Copy link

github-actions bot commented Mar 18, 2024

Before [2a35ae8] After [02ab19d] Ratio Benchmark (Parameter)
1.74±1s 2.70±0.8s ~1.55 benchmarks.time_computation
208 632 3.04 benchmarks.mem_list

Click here to view all benchmarks.

Copy link
Contributor

@camposandro camposandro left a comment

Choose a reason for hiding this comment

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

I like the notebook to upload the data to the cloud!

Should we still keep the copy_data_to_fs script so that we can copy data that we do not generate to the cloud? For example, the small_sky_parts that we use to generate small_sky and small_sky_order1 is also directly being used by hipscat-import:

https://github.com/astronomy-commons/hipscat-cloudtests/blob/c1167e852b59a9fb04b93716188ed170488e135b/tests/hipscat_import/conftest.py#L27-L28

@delucchi-cmu
Copy link
Contributor Author

I like the notebook to upload the data to the cloud!

Should we still keep the copy_data_to_fs script so that we can copy data that we do not generate to the cloud? For example, the small_sky_parts that we use to generate small_sky and small_sky_order1 is also directly being used by hipscat-import:

https://github.com/astronomy-commons/hipscat-cloudtests/blob/c1167e852b59a9fb04b93716188ed170488e135b/tests/hipscat_import/conftest.py#L27-L28

I'll add that in a follow up. I broke the smoke test with these changes 😬

@delucchi-cmu delucchi-cmu merged commit 7f5e6ca into main Mar 19, 2024
7 checks passed
@delucchi-cmu delucchi-cmu deleted the delucchi/clean_data branch March 19, 2024 11:14
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