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

Split hubutils - use v0.0.1 #98

Merged
merged 8 commits into from
Mar 8, 2024
Merged

Split hubutils - use v0.0.1 #98

merged 8 commits into from
Mar 8, 2024

Conversation

annakrystalli
Copy link
Member

Add functionality split from hubUtils

Currently, the hubUtils version in a specific PR in the hubUtils repo is being specified for testing that all will work fine with updated version. Once hubUtils v0.0.1 is merged in, I'll update the DESCRIPTION to use the main hubUtils branch again.

Details of the split can be found in hubUtils NEWS.md, reproduced below:

  • First major release of hubUtils package containing significant breaking changes. Much of the package has been moved and split across two smaller and more dedicated packages:
  • hubData package: contains functions for connecting to and interacting with hub data.
    • Exported functions moved to hubData: connect_hub(), connect_model_output(), expand_model_out_val_grid(), create_model_out_submit_tmpl(), coerce_to_character(), coerce_to_hub_schema() and create_hub_schema().
    • hubUtils functions re-exported to hubData: as_model_out_tbl(), validate_model_out_tbl(), model_id_split() and model_id_merge().
  • hubAdmin package: contains functions for administering Hubs, in particular creating and validating hub configuration files. Exported functions moved to hubAdmin:
    • Functions for creating config files: create_config(), create_model_task(), create_model_tasks(), create_output_type(), create_output_type_cdf(), create_output_type_mean(), create_output_type_median(), create_output_type_pmf(), create_output_type_quantile(), create_output_type_sample(), create_round(), create_rounds(), create_target_metadata(), create_target_metadata_item(), create_task_id(), create_task_ids().
  • Functions for validating config files: validate_config(),validate_model_metadata_schema(), validate_hub_config(), view_config_val_errors().

Copy link

github-actions bot commented Feb 29, 2024

Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@aa14dcc). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #98   +/-   ##
=======================================
  Coverage        ?   87.75%           
=======================================
  Files           ?        5           
  Lines           ?      147           
  Branches        ?        0           
=======================================
  Hits            ?      129           
  Misses          ?       18           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lshandross lshandross merged commit 4e3c266 into main Mar 8, 2024
9 of 10 checks passed
@lshandross lshandross deleted the split-hubutils branch October 2, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants