custom_classes.clone_class
custom_classes.clone_class(entry_class, recurse=False)
Clone an entry class. It will have the same name, but any changes to its class properties will not be reflected in the original class.
Parameters
Name | Type | Description | Default |
---|---|---|---|
entry_class |
SequenceInterval | SequencePoint | A SequenceInterval or SequencePoint to clone | required |
recurse |
bool | Used internally to clone the entire hierarchy. Defaults to False. | False |
Returns
Type | Description |
---|---|
SequenceInterval | SequencePoint | A cloned entry class |
Reuse
GPLv3