setPhase

abstract fun setPhase(phase: Phase, range: IntRange? = null)

Make this feature continuous with a phase phase.

Parameters

range

the new MutableFeature.range of the feature, or null to keep MutableFeature.range unchanged

Throws

if type is "CDS" or a synonym and phase is Phase.UNSPECIFIED