Skip to content

Commit 8c1bed6

Browse files
committed
doc dif between FeatureList.todict and groupby
1 parent 58d323c commit 8c1bed6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sugar/core/fts.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,10 @@ def select(self, type):
661661
def todict(self):
662662
"""
663663
Return a dictionary with sequence ids as keys and FeatureLists as values
664+
665+
Similar as ``FeatureList.groupby('seqid')``.
666+
The key for features without seqids is set to the empty string ``''``,
667+
in the groupyby() method this key is set to ``None``.
664668
"""
665669
d = {}
666670
for ft in self:

0 commit comments

Comments
 (0)