phenotypic.sdk_.migrate_legacy_qc#

phenotypic.sdk_.migrate_legacy_qc(output_dir: Path) bool[source]#

Move a pre-relocation run’s <output>/qc/ into deliverables/qc/.

Hard cutover (MOVE, no duplication), mirroring migrate_legacy_machine_state(). A no-op when there is no legacy qc/ or when the canonical deliverables/qc/ already exists (the move is whole-directory; we never merge a half-written canonical with legacy).

Returns:

True if this call moved the directory, else False.

Parameters:

output_dir (Path)

Return type:

bool