Finished function for returning feature coding
This commit is contained in:
parent
18a13083dc
commit
a9ae193cdc
@ -15,5 +15,5 @@ class Strand:
|
|||||||
coding: str
|
coding: str
|
||||||
features: Sequence[StrandFeature]
|
features: Sequence[StrandFeature]
|
||||||
|
|
||||||
def get_feature_coding(strand: Strand, feature: StrandFeature):
|
def get_feature_coding(strand: Strand, feature: StrandFeature) -> str:
|
||||||
strand.coding[feature.start:feature.end]
|
return strand.coding[feature.start:feature.end]
|
Loading…
x
Reference in New Issue
Block a user