MaskCentering
- class lib.align.updater.MaskCentering(alignments: dict[str, Any], version: float)
Bases:
_UpdaterMasks not containing the stored_centering parameters. Prior to this implementation all masks were stored with face centering
Attributes Summary
Trueif this updater has been run otherwiseFalseMethods Summary
test()Mask centering was introduced in alignments version 2.2
update()Add the mask key to the alignment file and update the centering of existing masks
Attributes Documentation
- Parameters:
alignments (dict[str, T.Any])
version (float)
- is_updated
Trueif this updater has been run otherwiseFalse
Methods Documentation
- test() bool
Mask centering was introduced in alignments version 2.2
- Return type:
Truemask centering requires updating otherwiseFalse
- update() int
Add the mask key to the alignment file and update the centering of existing masks
- Return type:
The number of masks that were updated
- test() bool
Mask centering was introduced in alignments version 2.2
- Return type:
Truemask centering requires updating otherwiseFalse
- update() int
Add the mask key to the alignment file and update the centering of existing masks
- Return type:
The number of masks that were updated