Skip to content

Refactored load & download_bionemo_data into bionemo-core#396

Merged
malcolmgreaves merged 1 commit intomainfrom
mg/refactor_load_into_core
Nov 7, 2024
Merged

Refactored load & download_bionemo_data into bionemo-core#396
malcolmgreaves merged 1 commit intomainfrom
mg/refactor_load_into_core

Conversation

@malcolmgreaves
Copy link
Copy Markdown
Contributor

@malcolmgreaves malcolmgreaves commented Nov 4, 2024

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
Copy Markdown
Contributor Author

/build-ci

@malcolmgreaves malcolmgreaves force-pushed the mg/refactor_load_into_core branch from a59885e to cc4aa90 Compare November 4, 2024 19:03
@malcolmgreaves
Copy link
Copy Markdown
Contributor Author

/build-ci

@malcolmgreaves malcolmgreaves force-pushed the mg/refactor_load_into_core branch from cc4aa90 to ea10664 Compare November 4, 2024 20:50
@jstjohn
Copy link
Copy Markdown
Collaborator

jstjohn commented Nov 5, 2024

/build-ci

@malcolmgreaves malcolmgreaves force-pushed the mg/refactor_load_into_core branch from ea10664 to 1bc8a1b Compare November 5, 2024 23:12
@malcolmgreaves malcolmgreaves force-pushed the mg/refactor_load_into_core branch 2 times, most recently from 453e160 to 5bfbced Compare November 5, 2024 23:14
@malcolmgreaves
Copy link
Copy Markdown
Contributor Author

/build-ci

Copy link
Copy Markdown
Collaborator

@farhadrgh farhadrgh left a comment

Choose a reason for hiding this comment

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

LGTM

@malcolmgreaves malcolmgreaves force-pushed the mg/refactor_load_into_core branch from 5bfbced to 44714da Compare November 7, 2024 21:25
`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 malcolmgreaves restored the mg/refactor_load_into_core branch November 7, 2024 21:28
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