Skip to content

Move Dataset classes to dmod.core package#199

Merged
christophertubbs merged 15 commits intoNOAA-OWP:masterfrom
robertbartel:i/change_dataset_package/main
Oct 20, 2022
Merged

Move Dataset classes to dmod.core package#199
christophertubbs merged 15 commits intoNOAA-OWP:masterfrom
robertbartel:i/change_dataset_package/main

Conversation

@robertbartel
Copy link
Copy Markdown
Contributor

Moving the Dataset class and closely related, co-dependency types from dmod.modeldata to dmod.core to facilitate use of those classes in other places, in particular certain parts of the client and GUI.

Move module and its Dataset, DatasetType, (abstract) DatasetManager, and
DatasetUser classes to dmod.core, as these classes are likely needed in
a variety of places where the full modeldata package is not (e.g., the
GUI).
Moving unit tests for Dataset to dmod.core after class moved to this
package.
Adding __init__.py to correct issue with unit tests not always being
loaded correctly.
Also removing class member _SERIALIZED_OBJ_NAME_TEMPLATE that is now
located in superclass.
Bump dependency on dmod.core to 0.3.0 and on dmod.modeldata to 0.9.0.
@robertbartel
Copy link
Copy Markdown
Contributor Author

With PRs #197 and #199, I believe once one of them is merged, the other will need modifications to resolve conflicts.

@christophertubbs christophertubbs merged commit f8a3ca5 into NOAA-OWP:master Oct 20, 2022
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