Skip to content

Commit

Permalink
updated sam simulation code of the dense scanner so leading stop toke…
Browse files Browse the repository at this point in the history
…n won't break the code
  • Loading branch information
bobcheng15 committed May 10, 2024
1 parent 152ac8e commit efd86e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sam/sim/src/rd_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ def update(self):
self.curr_ref = 'D'
self.done = True
return
elif is_stkn(self.curr_in_ref):
stkn = increment_stkn(self.curr_in_ref)
self.curr_crd = stkn
self.curr_ref = stkn
return
else:
self.curr_crd = 0
self.curr_ref = self.curr_crd + (self.curr_in_ref * self.meta_dim)
Expand Down

0 comments on commit efd86e9

Please sign in to comment.