How to use the reprozip.reprozip.tracer.trace.TracedFile.READ_THEN_WRITTEN function in reprozip

To help you get started, we’ve selected a few reprozip examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github VIDA-NYU / reprozip / reprozip / reprozip / tracer / trace.py View on Github external
def write(self, run):
        if self.what is None:
            self.what = TracedFile.WRITTEN
        elif self.what == TracedFile.ONLY_READ:
            self.what = TracedFile.READ_THEN_WRITTEN

        if run is not None:
            if self.runs[run] is None:
                self.runs[run] = TracedFile.WRITTEN
            elif self.runs[run] == TracedFile.ONLY_READ:
                self.runs[run] = TracedFile.READ_THEN_WRITTEN
github VIDA-NYU / reprozip / reprozip / reprozip / tracer / trace.py View on Github external
def write(self, run):
        if self.what is None:
            self.what = TracedFile.WRITTEN
        elif self.what == TracedFile.ONLY_READ:
            self.what = TracedFile.READ_THEN_WRITTEN

        if run is not None:
            if self.runs[run] is None:
                self.runs[run] = TracedFile.WRITTEN
            elif self.runs[run] == TracedFile.ONLY_READ:
                self.runs[run] = TracedFile.READ_THEN_WRITTEN
github VIDA-NYU / reprozip / reprozip / reprozip / tracer / trace.py View on Github external
def write(self, run):
        if self.what is None:
            self.what = TracedFile.WRITTEN
        elif self.what == TracedFile.ONLY_READ:
            self.what = TracedFile.READ_THEN_WRITTEN

        if run is not None:
            if self.runs[run] is None:
                self.runs[run] = TracedFile.WRITTEN
            elif self.runs[run] == TracedFile.ONLY_READ:
                self.runs[run] = TracedFile.READ_THEN_WRITTEN
github VIDA-NYU / reprozip / reprozip / reprozip / tracer / trace.py View on Github external
def write(self, run):
        if self.what is None:
            self.what = TracedFile.WRITTEN
        elif self.what == TracedFile.ONLY_READ:
            self.what = TracedFile.READ_THEN_WRITTEN

        if run is not None:
            if self.runs[run] is None:
                self.runs[run] = TracedFile.WRITTEN
            elif self.runs[run] == TracedFile.ONLY_READ:
                self.runs[run] = TracedFile.READ_THEN_WRITTEN