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

Refactored load & download_bionemo_data into bionemo-core #412

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

malcolmgreaves
Copy link
Collaborator

bionemo-testing re-exports the same values defined in __all__: they are imported from bionemo-core as the implementations have moved. Note that the tests have also moved.

Now, all sub-packages can use load at runtime, not just during tests.

All previous imports of bionemo.testing.load have been changed to bionemo.core.load.

Additionally moves over the YAML resource files from bionemo-testing into bionemo-core & adjusted the get_all_resources function.

This PR also fixes an error in the naming convention for bionemo-core's tests.

`bionemo-testing` re-exports the same values defined in `__all__`: they
are imported from `bionemo-core` as the implementations have moved.
Note that the tests have also moved.

Now, all sub-packages can use `load` at runtime, not just during tests.

All previous imports of `bionemo.testing.load` have been changed to
`bionemo.core.load`.

Additionally moves over the YAML resource files from bionemo-testing
into bionemo-core & adjusted the `get_all_resources` function.

This PR also fixes an error in the naming convention for
`bionemo-core`'s tests.
@malcolmgreaves
Copy link
Collaborator Author

/build-ci

@malcolmgreaves malcolmgreaves self-assigned this Nov 7, 2024
@malcolmgreaves malcolmgreaves enabled auto-merge (squash) November 7, 2024 21:37
@malcolmgreaves
Copy link
Collaborator Author

Impacts #409

@pstjohn
Copy link
Collaborator

pstjohn commented Nov 8, 2024

/build-ci

@malcolmgreaves malcolmgreaves merged commit 43a6f42 into main Nov 8, 2024
4 checks passed
@malcolmgreaves malcolmgreaves deleted the mg/refactor_load_into_core branch November 8, 2024 15:29
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.

4 participants