Skip to content

Commit 95efeed

Browse files
author
Clement Champetier
committed
sam ls: fix python error when using --explode-sequences option
* We depend on SequenceParser-1.2.0: see the method signature here https://github.com/mikrosimage/sequenceparser/blob/v1.2.0/src/Sequence.hpp#L46
1 parent fbb46fb commit 95efeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/sam/sam_ls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _printItem(self, item, args, level):
9595
sequence = item.getSequence()
9696
for frameRange in sequence.getFrameRanges():
9797
# for each frame range, print a new item as sequence
98-
subSequence = sequenceParser.Sequence(sequence.getPrefix(), sequence.getPadding(), sequence.getSuffix(), frameRange.first, frameRange.last, frameRange.step)
98+
subSequence = sequenceParser.Sequence(sequence.getPrefix(), sequence.getFixedPadding(), sequence.getMaxPadding(), sequence.getSuffix(), frameRange.first, frameRange.last, frameRange.step)
9999
if subSequence.__str__() not in self._sequenceExploded:
100100
self._sequenceExploded.append(subSequence.__str__())
101101
sequenceExploded = True

0 commit comments

Comments
 (0)