Skip to content

rewind added to DataClone to fix bug of different length of data#489

Open
raptoravis wants to merge 1 commit intomementum:masterfrom
raptoravis:master
Open

rewind added to DataClone to fix bug of different length of data#489
raptoravis wants to merge 1 commit intomementum:masterfrom
raptoravis:master

Conversation

@raptoravis
Copy link
Copy Markdown

rewind is called in _runnext, it needs to be matched with advance

              # make sure only those at dmaster level end up delivering
                for i, dti in enumerate(dts):
                    if dti is not None:
                        di = datas[i]
                        rpi = False and di.replaying   # to check behavior
                        if dti > dt0:
                            if not rpi:  # must see all ticks ...
                                di.rewind()  # cannot deliver yet
                            # self._plotfillers[i].append(slen)
                        elif not di.replaying:
                            # Replay forces tick fill, else force here
                            di._tick_fill(force=True)

                        # self._plotfillers2[i].append(slen)  # mark as fill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant