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