Skip to content

fix outdated command "rebuild_cache" #156

@erikyao

Description

@erikyao

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions