Finished function for returning feature coding
This commit is contained in:
@@ -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]
|
Reference in New Issue
Block a user