Repository navigation
-
Added
get_task_id_type()andget_task_id_values(), which return the data type of a task ID and the values it takes, from a tasks config, across all rounds or for one round (#266). -
get_task_id_names()now returns the task IDs used by every model task of every round. Previously it read only the first model task of each round, so a task ID used only in a later model task was missing from the result and from everything built on it, such as the hub schema and the task ID columns of a<model_out_tbl>(#315). -
get_round_idx(),get_round_ids(),get_round_config(),get_round_model_tasks(),get_round_task_id_names(),get_round_output_type_names(),get_task_id_names(),get_derived_task_ids_config(),get_hub_file_formats()andget_hub_derived_task_ids()gain acallargument, so that a function wrapping them can have error messages name the wrapper (#304). -
get_round_ids(flatten = "all")now returns unique round IDs, as documented. Previously, a round withround_id_from_variable: trueand more than one modeling task contributed one copy of each round ID per modeling task. Errors that list the valid round IDs, such as fromget_round_idx(), no longer repeat each ID (#303). -
Added
read_model_metadata(), which reads a model metadata YAML file. Every array in the file is returned as a list, so a length-1 array is read as a list rather than a string (#299). -
Added
get_derived_task_ids_config(), which returns the hub or round level derived task IDs from a tasks config object, asget_hub_derived_task_ids()does from a hub path.get_config_derived_task_ids()is an alias (#302). -
Added
get_round_value_sets_config(), which returns the values each modeling task in a round allows for each task ID and, per output type, foroutput_type_id(#301). -
Added
get_round_output_type_names(), which returns the names of the output types a round accepts, asget_round_task_id_names()does for task IDs (#301). -
Added
get_round_config(), which returns a round's element of theroundsproperty of the tasks config (#301).