MyVariantHubServer::rebuild_cache method, defined in src/bin/hub.py#L67, uses a get_latest_build(build_name) function. However this function was removed in ecb98dd.
What's more, the build_name parameter seems to be a build_config name actually (e.g. "warm_hg19"). A new signature design is to remove the parameter build_name at all, with target being the target build name (e.g. "warm_hg19_20220127_fpgrwjzd"). The calling of self.managers["build_manager"].list_sources(build_name) can be replaced by reading src_build.<_id>.sources field.
MyVariantHubServer::rebuild_cache
method, defined in src/bin/hub.py#L67, uses aget_latest_build(build_name)
function. However this function was removed in ecb98dd.What's more, the
build_name
parameter seems to be abuild_config
name actually (e.g."warm_hg19"
). A new signature design is to remove the parameterbuild_name
at all, withtarget
being the target build name (e.g."warm_hg19_20220127_fpgrwjzd"
). The calling ofself.managers["build_manager"].list_sources(build_name)
can be replaced by readingsrc_build.<_id>.sources
field.