skbio.metadata.IntervalMetadata.merge#
- IntervalMetadata.merge(other)[source]#
Merge the interval features of another
IntervalMetadataobject.It adds all the interval features of the other object into
self. Note this will not check if there are any duplicates of interval features after merge.- Parameters:
- other
IntervalMetadata The other
IntervalMetadatato be merged.
- other
Notes
It will raise error if you merge an unbounded
IntervalMetadataobject to the current object if it is bounded. This avoids partially updating the current object if the merge fails in the middle of the process due to the possibility that some interval features to be merged may live outside the current defined upper bound.